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
iex(10)>Earmark.as_ast"<!-- Replace with better image --> anything that follows the comment is lost <img src=\"picture.png\"/>"{:ok,[comment: [" Replace with better image "]],[]}iex(11)>Earmark.as_ast"<img src=\"picture.png\"/> <!-- Replace with better image --> this is not lost"{:ok,[{"img",[{"src","picture.png"}],[],%{meta: %{verbatim: true}}},"<!-- Replace with better image --> this is not lost"],[]}
The text was updated successfully, but these errors were encountered:
iex(1)> Earmark.as_ast "<!-- Replace with better image --> anything that follows the comment is lost <img src=\"picture.png\"/>"
{:ok,
[
{:comment, [], [" Replace with better image "], %{comment: true}},
{"p", [],
[" anything that follows the comment is lost <img src=\"picture.png\"/>"],
%{}}
],
[
{:warning, 0,
"DEPRECATION: Earmark.as_ast will be removed in version 1.5, please use Earmark.Parser.as_ast, which is of the same type"}
]}
bradhanks
added a commit
to bradhanks/earmark
that referenced
this issue
Feb 5, 2024
The text was updated successfully, but these errors were encountered: