fixing bug

This commit is contained in:
James Brumond 2023-05-12 14:42:57 -07:00
parent 34cacb48bb
commit f48c0c6b75
Signed by: james
GPG Key ID: E8F2FC44BAA3357A

View File

@ -197,7 +197,7 @@ function code(renderer: marked.Renderer, opts: MarkdownOptions) {
const arg_pattern = /^(?:[a-zA-Z0-9_:-]+|"(?:[^"\n]|(?<=\\)")*")/;
function parse_code_args(text: string) {
function parse_code_args(text = '') {
const args: string[] = [ ];
text = text.trim();