Ionaru / Ionaru/easy-markdown-editor

hljs class is not added to `<code>` wrapper

Open
#336 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

Just noticed that the `hljs` class is not being added to the `` wrapper causing for some of the hljs styles not to work!

I fixed it by hacking easymde.js with this line
```
return '

' + (escaped ? _code : escape$1(_code, true)) + '
\n';
```

But obviously this is not the way!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.