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 baa7f68 commit a97acf8Copy full SHA for a97acf8
dictionary/misc.ts
@@ -1,5 +1,5 @@
1
export function asComment(text: string): string {
2
return text
3
.replaceAll(/^/mg, "# ")
4
- .replaceAll(/^#\s*$/mg, "#");
+ .replaceAll(/^#\s+$/mg, "#");
5
}
0 commit comments