client/misc: fix invalid markup for SJIS
This commit is contained in:
parent
c2606a2555
commit
9e13c05517
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ function formatMarkdown(text) {
|
|||
text = text.replace(/%%%#/g, '#');
|
||||
|
||||
text = text.replace(
|
||||
/%%%SJIS(\d+)/,
|
||||
/(?:<p>)?%%%SJIS(\d+)(?:<\/p>)?/,
|
||||
(match, capture) => {
|
||||
return '<div class="sjis">' + sjis[capture] + '</div>';
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue