Closed robert-lindstrom closed 3 years ago
Describe the bug Some characters are erroneously html-encoded in code highlight section when allowHtml is set to true.
To Reproduce If allowHtml is set to true and the markdown contains the following code highlight:
```javascript console.log('test'); ```
the output is:
console.log('test');
Expected behavior The output should be:
console.log('test');
Additional context We tested this with doctor 1.7.0 and 1.8.0-beta.6217071
Thanks, found what was causing the issue. Fix and extra tests have been added. Once the next build has been completed. It will be available in beta.
beta
This has been released in v1.8.0
Describe the bug Some characters are erroneously html-encoded in code highlight section when allowHtml is set to true.
To Reproduce If allowHtml is set to true and the markdown contains the following code highlight:
the output is:
Expected behavior The output should be:
Additional context We tested this with doctor 1.7.0 and 1.8.0-beta.6217071