When specifying for example a line of HTML as follows:
<dt><code><dl></code></dt>
CodeMirror will convert the entities to their tag equivalent ie
<dt><code><dl></code></dt>
NOTE: This is when CodeMirror is initialised and the first passed as the initial editor content. So it does not happen as you type.
Is there a way to prevent this from happening? Perhaps a config, plugin, or custom function. I have looked over the documentation and does not look like there is anything. Thank you in advance
这不是CodeMirror引起的,而是浏览器在将内容发送到编辑器之前进行了解析:-/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.