fixing bug
This commit is contained in:
parent
34cacb48bb
commit
f48c0c6b75
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user