html: Stop escaping apostrophes.
authorDavid Thompson <dthompson@vistahigherlearning.com>
Wed, 1 Nov 2017 15:57:28 +0000 (11:57 -0400)
committerDavid Thompson <dthompson@vistahigherlearning.com>
Wed, 1 Nov 2017 15:57:28 +0000 (11:57 -0400)
This was breaking the rendering of documents like:

    '(p (@ (onclick "javascriptFunction('argmunent')")))

The single quotes would be escaped and then the onclick handler
wouldn't work at all.

* haunt/html.scm (%escape-codes): Remove apostrophe escape code.

haunt/html.scm

index f630a68..5891cd0 100644 (file)
@@ -57,7 +57,6 @@
   (alist->hash-table
    '((#\" . "quot")
      (#\& . "amp")
-     (#\' . "apos")
      (#\< . "lt")
      (#\> . "gt"))))