archimag / cl-closure-template

Common Lisp implementation of Google's Closure Templates.
Other
71 stars 23 forks source link

Do not double backslashes #24

Closed orivej closed 10 years ago

orivej commented 10 years ago

~S binds *print-escape* to T, and for any backslash resulting from %js outputs two backslashes, effectively escaping the backslash. Using ~A fixes this.

On a side note, how strong is the reason to escape characters outside the ASCII range?

archimag commented 10 years ago

how strong is the reason to escape characters outside the ASCII range?

This allows to not think about the encoding.