Skip to content

Commit

Permalink
Updated comment implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuukestu committed May 7, 2024
1 parent c11536f commit 51b4546
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/bundled/bbcode-parser.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@

const comment = (node) => {
return toNode(
"div", {style: "display: none;", class: "bb-hidden",}, node.content,
"span", {class: "hidden" }, node.content,
);
};

Expand Down
1 change: 0 additions & 1 deletion assets/javascripts/lib/discourse-markdown/bbcode-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export function setup(helper) {
"div.bb-float-left",
"div.bb-float-right",
"div.bb-height-restrict",
"div.bb-hidden",
"div.bb-img",
"div.bb-justify",
"div.bb-left",
Expand Down
2 changes: 1 addition & 1 deletion bbcode-src/tags/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { toNode } from "../utils/common";

const comment = (node) => {
return toNode(
"div", {style: "display: none;", class: "bb-hidden",}, node.content,
"span", {class: "hidden" }, node.content,
);
};

Expand Down

0 comments on commit 51b4546

Please sign in to comment.