When stripping docstrings from source the comparison was failing with those containing embedded ". This fix puts them back in before striping them out

This commit is contained in:
fogus 2011-01-25 11:25:16 -05:00
parent ee68f253ac
commit 4f5fb82785

View file

@ -73,9 +73,7 @@
(-> raw
(replace (str \" (-> docstring
str
(replace "\"" "\\\"")
;; (replace "\\" "")
)
(replace "\"" "\\\""))
\")
"")
(replace #"\n\s*\n" "\n")