remove .prettify() @ pre_with_pr (bs4);

fix spaces in tables too
This commit is contained in:
Mathieu PATUREL
2017-01-26 10:43:04 +11:00
parent 48c1800065
commit 6f18e8e4a2
4 changed files with 5 additions and 14 deletions

View File

@ -69,6 +69,7 @@ def markdown2html(md, basepath):
# exception, again, because <pre> aren't supported by the phantoms
html = html.replace('&nbspespace;', '<i class="space">.</i>')
html = replace_img_src_base64(html, basepath=os.path.dirname(basepath))
sublime.set_clipboard(html)
return html
def show_html(md_view, preview):