Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/org/pegdown/ToHtmlSerializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public void visit(TextNode node) {
}

public void visit(SpecialTextNode node) {
printer.printEncoded(node.getText());
printer.print(node.getText());
}

public void visit(SuperNode node) {
Expand Down Expand Up @@ -409,7 +409,7 @@ protected void visitChildrenSkipFirst(SuperNode node) {

protected void printTag(TextNode node, String tag) {
printer.print('<').print(tag).print('>');
printer.printEncoded(node.getText());
printer.print(node.getText());
printer.print('<').print('/').print(tag).print('>');
}

Expand Down