Revert underscore italics regex part

e3f010782d958f8591fbe2ff85e592cc9a929cc7

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/showdown-underscore.js+1 -1
@@ -8,7 +8,7 @@ export const markdownUnderscoreExt = () => {
88
99 return [{
1010 type: 'output',
1111 regex: new RegExp('(<code>[\\s\\S]*?<\\/code>)|\\b(?<!\\S_)_(?!_)([^_\\n]+.*?)(?<!_)_(?!_)\\w)b', 'g'),
1212 replace: function(match, codeContent, italicContent) {
1313 if (codeContent) {
1414 // If it's inside <code> tags, return unchanged