archimag / cl-closure-template

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

Do not double backslashes #24

Closed orivej closed 11 years ago

orivej commented 11 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 11 years ago

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

This allows to not think about the encoding.