You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Earmark likes to generate matching sets of "smart quotes", but it doesn't always get them right.
The closing quote in the second instance below is actually another opening quote:
iex(1)> foo = """
...(1)> for example, "_" and "-" ...
...(1)> """
"For example, \"_\" and \"-\" ...\n"
iex(2)> Earmark.as_html(foo)
{:ok, "<p>For example, “_” and “-“ …</p>\n", []}
The text was updated successfully, but these errors were encountered:
Earmark likes to generate matching sets of "smart quotes", but it doesn't always get them right.
The closing quote in the second instance below is actually another opening quote:
The text was updated successfully, but these errors were encountered: