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
The offending text in the file is <span class="spurious-link"target="matrix.org">*matrix.org*</span>; this may be a problem with other HTML in markdown contexts as well.
Hey! Yeah, all the code around the inline HTML stuff is very touchy. I quick little test points to the newline in the middle of the tag messing things up.
[:markdown/soft-line-break {}]
"could be hacked together with systems like "
[:markdown/html {} "<span class=\"spurious-link\"\n target=\"matrix.org\">"]
[:em {} "matrix.org"]
[:markdown/html {} "</span>"]
Then trying to (parse-tag "<span class=\"spurious-link\"\n target=\"matrix.org\">") yeilds
Execution error (NullPointerException) at java.util.regex.Matcher/getTextLength (Matcher.java:1769).
Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
I appreciate the pointer! Ended up resolving the issue (as the name suggests, the spurious links weren't supposed to be there) but I'll take a crack at this this weekend : )
Hey! Thanks for this package. It's made my life easy.
I'm getting an IllegalStateException from within the library.
Message
I am unsure how to proceed with troubleshooting or what might be causing this inconsistent state.
Code's here:
cybermonday/src/cybermonday/ir.cljc
Line 55 in 8b94aef
Reproducing
(parse-md)
on that file string.The offending text in the file is
<span class="spurious-link"target="matrix.org">*matrix.org*</span>
; this may be a problem with other HTML in markdown contexts as well.Here's my entire context if you're interested: https://github.com/jakeisnt/site/blob/9aa28a968f0f1cd5e8ca8567852cb7d0479c96ca/src/main.clj
The text was updated successfully, but these errors were encountered: