Skip to content

Commit 55456ec

Browse files
authored
Update prismSetup.tsx
1 parent d82726a commit 55456ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/content/PrismCode/prismSetup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ RendererPrism.languages.sql = {
113113
/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/g;
114114
//this will match a line plus the line break while ignoring the line breaks HTML tags may contain.
115115
var HTML_LINE = RegExp(
116-
/(?:__|[^\r\n<])*(?:\r\n?|\n|(?:__|[^\r\n<])(?![^\r\n]))/.source.replace(
116+
/(?:__|[^_\r\n<])*(?:\r\n?|\n|(?:__|[^_\r\n<])(?![^\r\n]))/.source.replace(
117117
/__/g,
118118
function () {
119119
return HTML_TAG.source;

0 commit comments

Comments
 (0)