Skip to content

Commit 9f30044

Browse files
committed
再更新下模板
1 parent 46bf4d3 commit 9f30044

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Coding_iOS/Resources/code.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@
270270
lang: '${file_lang}'
271271
};
272272
file.data = file.data.
273-
replace(/&/g, '&').
274-
replace(/&lt;/g, '<').
275-
replace(/&gt;/g, '>');
273+
replace(/&amp;/gm, '&').
274+
replace(/&lt;/gm, '<').
275+
replace(/&gt;/gm, '>');
276276
var html = buildCodeBlock(file.data, file.lang);
277277
$('#code-view').html(html);
278278
});

0 commit comments

Comments
 (0)