Fix: java.lang.ClassCastException
Use trailing dot in constructing the StringReader: `(java.io.StringReader. s)`
This commit is contained in:
parent
4aa6bf978f
commit
44b28902db
|
@ -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))))
|
||||||
)))
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue