client/misc: fix invalid markup for SJIS

This commit is contained in:
rr- 2016-06-11 17:59:25 +02:00
parent c2606a2555
commit 9e13c05517
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ function formatMarkdown(text) {
text = text.replace(/%%%#/g, '#'); text = text.replace(/%%%#/g, '#');
text = text.replace( text = text.replace(
/%%%SJIS(\d+)/, /(?:<p>)?%%%SJIS(\d+)(?:<\/p>)?/,
(match, capture) => { (match, capture) => {
return '<div class="sjis">' + sjis[capture] + '</div>'; return '<div class="sjis">' + sjis[capture] + '</div>';
}); });