pier-oliviert / ecrire

Blog engine for developers

Home Page:http://ecrire.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Escape HTML codes in <code>

pier-oliviert opened this issue · comments

It would be quite awesome to escape code inside the . Because of the way Ecrire's editor works, this should be done server side.

Basically the rule would be to escape anything that comes after except so it's possible to close to tag and move on.

This is irrelevant now as it uses marked.js for its editor.