function | removed v1.7.10 | added v0.0-3053 | Edit |
(firefox-clean-function f)
(defn firefox-clean-function [f]
(as-> f f
(cond
(string/blank? f) nil
(not= (.indexOf f "") -1)
(let [idx (.indexOf f "")]
(.substring f (+ idx 2)))
:else f)
(-> f
(string/replace #"<" "")
(string/replace #"\/" ""))))