-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix backtick_code_block for ignore tab character.
<raw>``` (tab) Hello world! </new> The expressions like this causes a bug. In this case, `args` in backtickCodeBlock() is not blank (but a tab character). Then the `args` will not match both of rAllOptions and rLangCaption. So `match` will be `null`. and we can't get `match[1]` in this case. To fix it, I check whether `match` is null or not.
- Loading branch information
Showing
2 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters