Skip to content

Commit

Permalink
wikitext classes are appended to other leading wikitext, no need to s…
Browse files Browse the repository at this point in the history
…kip whitespace here.
  • Loading branch information
joshuafontany committed May 12, 2024
1 parent 01934c2 commit 8c61854
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/modules/parsers/wikiparser/rules/quoteblock.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ exports.parse = function() {
var reEndString = "^\\s*" + this.match[1] + "(?!<)";
// Move past the <s
this.parser.pos = this.matchRegExp.lastIndex;
this.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});
// Parse any classes, whitespace and then the optional cite itself
classes.push.apply(classes, this.parser.parseClasses());
this.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});
Expand Down

0 comments on commit 8c61854

Please sign in to comment.