@tamagui/code-to-html 1.84.1 → 1.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +1 -1
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.native.js +1 -1
- package/dist/esm/index.native.js.map +1 -1
- package/package.json +2 -2
- package/src/highlightLine.ts +1 -1
package/dist/esm/index.native.js
CHANGED
|
@@ -13557,7 +13557,7 @@ var lineNumberify = function lineNumberify2(ast, lineNum = 1) {
|
|
|
13557
13557
|
lineNumber: line
|
|
13558
13558
|
}), nodes;
|
|
13559
13559
|
}, []);
|
|
13560
|
-
}, MULTILINE_TOKEN_SPAN = /<span class="token ([^"]+)">[^<]*\n[^<]*<\/span>/g, applyMultilineFix =
|
|
13560
|
+
}, MULTILINE_TOKEN_SPAN = /<span class="token ([^"]+)">[^<]*\n[^<]*<\/span>/g, applyMultilineFix = (ast) => {
|
|
13561
13561
|
let html5 = toHtml(ast);
|
|
13562
13562
|
return html5 = html5.replace(
|
|
13563
13563
|
MULTILINE_TOKEN_SPAN,
|