Closed tomconroy closed 2 years ago
Totals | |
---|---|
Change from base Build 8ec13efa55c42e43e611a029db03d2f560952198: | 0.0% |
Covered Lines: | 792 |
Relevant Lines: | 792 |
@tomconroy thx looks promising will have a look when I have time. This feature is definitely a plus, however my time is sooo limited right now, I am not sure when I can merge and release...
do you have an urgent need?
Not urgent. I have rolled back earmark to 1.2 because there are other regressions with the new parser (https://github.com/pragdave/earmark/issues/449)
#449 should go here though I guess
@tomconroy just looked at the code, great job, but we need to support Elixir 1.11 for ex_doc so you would need to fix the CI, if you want me to fix the CI I will provide a different branch to PR against which I will than merge and fix when I find the time.
that is because I do not have time to repair master now, sorry
Thank you for the PR again
Cool, my change actually breaks some tests. Please feel free to take over as I'm not sure how to best fix this with the regex parser..
@tomconroy ok then please PR against rel-1.4.26
Oh I could do that myself (why not BTW) 😄 https://github.com/RobertDober/earmark_parser/pull/107 So I close this one, thanx
Cool, my change actually breaks some tests. Please feel free to take over as I'm not sure how to best fix this with the regex parser..
which were incorrect by the way so I need to fix them anyway...
HTML allows attributes without values, in which case they're treated like so:
is interpreted as
My change unfortunately breaks another test case, which wants to swallow attributes missing quotes. This will now interpret the example
as
I couldn't find a good solution using regex, maybe you have an idea? Browsers will permissively treat this as
but HTML parsing is hard :)
(as an aside, Earmark should treat
input
tags as void elements)