     s = misc.replace_all(s, '[ ]', "<i class='fa fa-square-o'></i>")
     return misc.replace_all(s, '[x]', "<i class='fa fa-check-square-o'></i>")
 
-markdown_to_html = (s) ->
+markdown_to_html_v1 = (s) ->
     # See https://github.com/sagemathinc/cocalc/issues/1801
     [text, math] = remove_math(s)
     if math.length > 0

    exports.html_to_markdown = (s) ->
        return reMarker.render(s)

exports.markdown_to_html = markdown_to_html_2


markdown_to_html_v2 = (raw_string) ->
    s = processor.processSync(raw_string).toString()
    return {s:s, has_mathjax:false}

###
# Old Method retained for backwards compatibility
