Closed artragis closed 3 years ago
The bug only appears with current zmarkdown configuration, you just have to start the server and send provided markdown
```php hl_lines="3-01" <?php namespace App\Validator;
error is raised in zmarkdown/utils/code-handler.js at line 70
zmarkdown/utils/code-handler.js
RangeError Invalid array length
two possible behaviour :
I saw this error, and I think it's obviously a misuse of the plugin, but anyway adding a check is no big deal.
It's juste we don't want the parsing to be stopped when users makes a typo.
The bug only appears with current zmarkdown configuration, you just have to start the server and send provided markdown
The minimal code
observed behaviour
error is raised in
zmarkdown/utils/code-handler.js
at line 70desired behaviour
two possible behaviour :