Skip to content

Commit

Permalink
work around for mixmark-io/turndown#181
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Aug 20, 2017
1 parent 06a37ff commit 4342a3d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/HTML2MD.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ function html2md(html)
html = replace(html, "\$", "\\\$")
html = replace(html, "\"\"\"", "\\\"\\\"\\\"")

String(post(URI("http://localhost:$tcp_port"), html).data)
md = String(post(URI("http://localhost:$tcp_port"), html).data)

# Work around for https://github.com/domchristie/to-markdown/issues/181
md = replace(md, "\\.", ".")

return md
end


Expand Down

0 comments on commit 4342a3d

Please sign in to comment.