Closed shaunlebron closed 9 years ago
clojuredocs encodes symbols like this for their URLs, like coll_q instead of coll?: source
coll_q
coll?
(defn cd-encode [s] (when s (cond (= "." s) "_." (= ".." s) "_.." :else (-> s (str/replace #"/" "_fs") (str/replace #"\\" "_bs") (str/replace #"\?" "_q")))))
https://github.com/oakmac/cljs.info/blob/37c801aff98b115362e811cc7a53df6d4749fe15/cljs-server/cljsinfo_server/core.cljs#L34-L44
clojuredocs encodes symbols like this for their URLs, like
coll_q
instead ofcoll?
: source