diff options
| author | 2020-11-06 23:33:15 +0100 | |
|---|---|---|
| committer | 2020-11-06 23:33:15 +0100 | |
| commit | c99dc2e9faaa691d758e21d9edc4b9bb3c586ca3 (patch) | |
| tree | 99b75eebd04a13904a263d63bcb711115130541b /tests | |
| parent | Merge pull request #1271 from spacecraft1013/code_instructions (diff) | |
Detect codeblock language with special characters
The regex we use to detect codeblocks did not recognize language
specifiers that use a dash, a plus, or a dot in their name. As there are
valid language specifiers, such as python-repl and c++, that use those
characters, I've changed the regex to reflect that.
The character set used now reflects the characters used in language
specifiers in highlight.js.
Signed-off-by: Sebastiaan Zeeff <[email protected]>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions