Explorar el Código

Fix new lines in the HTML tab

oobabooga hace 2 años
padre
commit
8579fe51dd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/html_generator.py

+ 1 - 1
modules/html_generator.py

@@ -34,7 +34,7 @@ def convert_to_markdown(string):
     string = string.replace('\\begin{blockquote}', '> ')
     string = string.replace('\\end{blockquote}', '')
     string = re.sub(r"(.)```", r"\1\n```", string)
-#    string = fix_newlines(string)
+    string = fix_newlines(string)
     return markdown.markdown(string, extensions=['fenced_code']) 
 
 def generate_basic_html(string):