Skip to content
Permalink
Browse files

fix: arrow bracket is shown as html entities in codeblock (close: #456)

  • Loading branch information...
Sohee Lee authored and sohee-lee7 committed Apr 2, 2019
1 parent 021e28b commit 5da83a2cb96ffbb3865e97b09273ffab918d92c8
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/js/wwCodeBlockManager.js
@@ -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();
}

0 comments on commit 5da83a2

Please sign in to comment.
You can’t perform that action at this time.