diff --git a/src/providers/documentation_builder.ts b/src/providers/documentation_builder.ts index d12b7d15..85ac8735 100644 --- a/src/providers/documentation_builder.ts +++ b/src/providers/documentation_builder.ts @@ -362,6 +362,8 @@ function make_codeblock(code: string, language: string) { } function format_documentation(bbcode: string, classname: string) { + // ya-bbcode doesn't parse [code skip-lint] as a [code] tag + bbcode = bbcode.replaceAll("[code skip-lint]", "[code]"); let html = parser.parse(bbcode.trim()); html = html.replaceAll(/\[\/?codeblocks\]()?/g, "");