Shinmera / plump

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

Case issues when parsing HTML #13

Closed fiddlerwoaroof closed 7 years ago

fiddlerwoaroof commented 7 years ago

Plump doesn't seem to match script tags properly. I believe HTML tags are supposed to be case-insensitive and, either way, <SCRIPT> should match </SCRIPT>.

CL-USER> (plump:serialize (plump:parse "<SCRIPT></SCRIPT><P></P>"))
<script></SCRIPT><P></P></script>
Shinmera commented 7 years ago

Ah, I see what's going on. It's a problem caused by stupid handling of fulltext elements.