We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82726a commit 55456ecCopy full SHA for 55456ec
src/components/content/PrismCode/prismSetup.tsx
@@ -113,7 +113,7 @@ RendererPrism.languages.sql = {
113
/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/g;
114
//this will match a line plus the line break while ignoring the line breaks HTML tags may contain.
115
var HTML_LINE = RegExp(
116
- /(?:__|[^\r\n<])*(?:\r\n?|\n|(?:__|[^\r\n<])(?![^\r\n]))/.source.replace(
+ /(?:__|[^_\r\n<])*(?:\r\n?|\n|(?:__|[^_\r\n<])(?![^\r\n]))/.source.replace(
117
/__/g,
118
function () {
119
return HTML_TAG.source;
0 commit comments