Fix: java.lang.ClassCastException

Use trailing dot in constructing the StringReader:

`(java.io.StringReader. s)`
This commit is contained in:
Johan Mynhardt (MEA) 2022-05-21 16:26:28 +02:00
parent 4aa6bf978f
commit 44b28902db

View file

@ -93,6 +93,4 @@
(if url (transform url dispatcher) (if url (transform url dispatcher)
;; otherwise, if s is not a URL, consider it as an HTML fragment, ;; otherwise, if s is not a URL, consider it as an HTML fragment,
;; parse and process it ;; parse and process it
(process (tagsoup/parser (java.io.StringReader s)) dispatcher) (process (tagsoup/parser (java.io.StringReader. s)) dispatcher))))
)))