mikaeljorhult / brackets-todo

Brackets/Edge Code extension that displays all TODO comments in current document or project.
144 stars 37 forks source link

Escape HTML between backticks in todo comments #119

Closed coldacid closed 7 years ago

coldacid commented 9 years ago

Allows the display of HTML markup, Angular directives, etc. inside todo comments, so long as they are wrapped in backticks a la Markdown. A new function is added to double-escape the angle bracket and ampersand characters in such backtick-wrapped text. (Single-escaping results in HTML markup surviving the HTML stripping, returning the escaped characters to regular HTML again.)