Skip to content

Commit

Permalink
fix: Change comment node type to "Block" to match spaced-comment esli…
Browse files Browse the repository at this point in the history
…nt rule prerequisites
  • Loading branch information
ClementMindflow committed Jun 25, 2021
1 parent c088f6f commit 4355a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/parser/lib/postprocessor/postprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = class PostProcessor {

["#comment"](node) {
this.skipCommonProcess = true;
node.type = "comment";
node.type = "Block";
node.startTag = createCommentStartTag(node);
node.endTag = createCommentEndTag(node);
node.value = node.data;
Expand Down

0 comments on commit 4355a21

Please sign in to comment.