Skip to content

Commit

Permalink
fix: arrow bracket is shown as html entities in codeblock (close: #456)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohee Lee committed Apr 2, 2019
1 parent 03eb1c7 commit b1f185c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/wwCodeBlockManager.js
Expand Up @@ -135,8 +135,7 @@ class WwCodeBlockManager {
} else if (node.nodeName === 'BR') {
str += '\n';
} else {
const {textContent} = node;
str += sanitizeHtmlCode(textContent);
str += node.textContent;
}
node = nodes.shift();
}
Expand Down

0 comments on commit b1f185c

Please sign in to comment.