File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ kramed.setOptions({
177
177
_ . forEach ( dom_tree , function ( node , i ) {
178
178
// When the node is a text type, it has no children, just return it.
179
179
if ( node . type === "text" ) {
180
- output += S ( node . data ) . unescapeHTML ( ) . s . replace ( / ( [ < > ] ) / gm, function ( m ) { return S ( m ) . escapeHTML ( ) . s } ) ;
180
+ output += S ( node . data ) . unescapeHTML ( ) . s . replace ( / ( [ < > & ] ) / gm, function ( m ) { return S ( m ) . escapeHTML ( ) . s } ) ;
181
181
} else if ( node . type === "comment" ) {
182
182
output += "<!-- " + node . data + "-->" ;
183
183
// In XML mode, cdata isn't treated as a comment so render it here
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " htmlbook" ,
3
- "version" : " 0.1.9 " ,
3
+ "version" : " 0.1.10 " ,
4
4
"description" : " Markdown to HTMLBook converter" ,
5
5
"main" : " ./htmlbook.js" ,
6
6
"bin" : {
You can’t perform that action at this time.
0 commit comments