Shinmera / plump

Practically Lenient and Unimpressive Markup Parser for Common Lisp
https://shinmera.github.io/plump
zlib License
120 stars 21 forks source link

Handle newline right after <script #48

Closed tdrhq closed 1 year ago

tdrhq commented 1 year ago

I was dealing with a situation where

  <script 
     id="foo"
      >....
  </script>

Was being converted to a text node. This fixes it.

(Side note: it actually converts it to a text node that looks like &ltcript -- notice the missing s. So there's another bug somewhere in the failover logic for when a node does not parse)