fix: HTML import escapes dollar signs in code (#6638) (#6645)

This commit is contained in:
panos--
2024-03-06 14:00:50 +01:00
committed by GitHub
parent 98eba29cdd
commit dce4fd6adc
3 changed files with 73 additions and 4 deletions

View File

@@ -57,6 +57,7 @@ const escapes: [RegExp, string][] = [
[/^>/g, "\\>"],
[/_/g, "\\_"],
[/^(\d+)\. /g, "$1\\. "],
[/\$/g, "\\$"],
];
/**