NilsJPWerner / autoDocstring

VSCode extension that generates docstrings for python files
MIT License
676 stars 163 forks source link

Change the mustache, HTML-escaping behavior #281

Closed PhilipNelson5 closed 8 months ago

PhilipNelson5 commented 8 months ago

HTML-escaping quotes is a feature of mustache, see janl/mustache.js#13 and the variables section in the docs.

All variables are HTML-escaped by default

The recommendation to disable HTML-escaping is

If you'd like to change HTML-escaping behavior globally (for example, to template non-HTML formats), you can override Mustache's escape function. For example, to disable all escaping: Mustache.escape = function(text) {return text;};.