Closed pmonks closed 3 months ago
When URL matching retrieves the content of a URL in order to perform full text license matching, it would be ideal if text/html responses were supported (i.e. by converting the HTML to text/plain, and then performing license text matching on that).
text/html
text/plain
This should be trivial to do, given that JSoup is already a dependency. e.g.
(defn html-to-text [^String s] (when s (.text (org.jsoup.Jsoup/parse s))))
When URL matching retrieves the content of a URL in order to perform full text license matching, it would be ideal if
text/html
responses were supported (i.e. by converting the HTML totext/plain
, and then performing license text matching on that).