diff --git a/core/modules/parsers/wikiparser/rules/emphasis/bold.js b/core/modules/parsers/wikiparser/rules/emphasis/bold.js index 127b84579..3799feeb5 100644 --- a/core/modules/parsers/wikiparser/rules/emphasis/bold.js +++ b/core/modules/parsers/wikiparser/rules/emphasis/bold.js @@ -36,10 +36,10 @@ exports.parse = function() { // Move past the match this.parser.pos = this.matchRegExp.lastIndex; - // Parse the run including the terminator + // Parse the run including the terminator var tree = this.parser.parseInlineRun(/''/mg,{eatTerminator: true}); - // Return the classed span + // Return the classed span return [{ type: "element", tag: "strong", diff --git a/core/modules/parsers/wikiparser/rules/emphasis/italic.js b/core/modules/parsers/wikiparser/rules/emphasis/italic.js index 20fccd342..3e0744c4d 100644 --- a/core/modules/parsers/wikiparser/rules/emphasis/italic.js +++ b/core/modules/parsers/wikiparser/rules/emphasis/italic.js @@ -36,10 +36,10 @@ exports.parse = function() { // Move past the match this.parser.pos = this.matchRegExp.lastIndex; - // Parse the run including the terminator + // Parse the run including the terminator var tree = this.parser.parseInlineRun(/\/\//mg,{eatTerminator: true}); - // Return the classed span + // Return the classed span return [{ type: "element", tag: "em", diff --git a/core/modules/parsers/wikiparser/rules/emphasis/stricethrough.js b/core/modules/parsers/wikiparser/rules/emphasis/stricethrough.js index 7b272bd0c..af722b140 100644 --- a/core/modules/parsers/wikiparser/rules/emphasis/stricethrough.js +++ b/core/modules/parsers/wikiparser/rules/emphasis/stricethrough.js @@ -39,7 +39,7 @@ exports.parse = function() { // Parse the run including the terminator var tree = this.parser.parseInlineRun(/~~/mg,{eatTerminator: true}); - // Return the classed span + // Return the classed span return [{ type: "element", tag: "strike", diff --git a/core/modules/parsers/wikiparser/rules/emphasis/subscript.js b/core/modules/parsers/wikiparser/rules/emphasis/subscript.js index c4f57bd4b..12be0fbbc 100644 --- a/core/modules/parsers/wikiparser/rules/emphasis/subscript.js +++ b/core/modules/parsers/wikiparser/rules/emphasis/subscript.js @@ -36,10 +36,10 @@ exports.parse = function() { // Move past the match this.parser.pos = this.matchRegExp.lastIndex; - // Parse the run including the terminator + // Parse the run including the terminator var tree = this.parser.parseInlineRun(/,,/mg,{eatTerminator: true}); - // Return the classed span + // Return the classed span return [{ type: "element", tag: "sub", diff --git a/core/modules/parsers/wikiparser/rules/emphasis/superscript.js b/core/modules/parsers/wikiparser/rules/emphasis/superscript.js index 09a1e8ed1..5a5330d8c 100644 --- a/core/modules/parsers/wikiparser/rules/emphasis/superscript.js +++ b/core/modules/parsers/wikiparser/rules/emphasis/superscript.js @@ -36,10 +36,10 @@ exports.parse = function() { // Move past the match this.parser.pos = this.matchRegExp.lastIndex; - // Parse the run including the terminator + // Parse the run including the terminator var tree = this.parser.parseInlineRun(/\^\^/mg,{eatTerminator: true}); - // Return the classed span + // Return the classed span return [{ type: "element", tag: "sup", diff --git a/core/modules/parsers/wikiparser/rules/emphasis/underscore.js b/core/modules/parsers/wikiparser/rules/emphasis/underscore.js index 529c6524b..d36bd242d 100644 --- a/core/modules/parsers/wikiparser/rules/emphasis/underscore.js +++ b/core/modules/parsers/wikiparser/rules/emphasis/underscore.js @@ -36,10 +36,10 @@ exports.parse = function() { // Move past the match this.parser.pos = this.matchRegExp.lastIndex; - // Parse the run including the terminator + // Parse the run including the terminator var tree = this.parser.parseInlineRun(/__/mg,{eatTerminator: true}); - // Return the classed span + // Return the classed span return [{ type: "element", tag: "u",