c***@gmail.com
2016-06-18 01:50:36 UTC
Hi all,
I opened an issue but I think I should ask here as well.
It seems like Hakyll is rewriting anchor tags that contain "mailto" links.
It replaces the tag with a <script> block that writes the tag dynamically.
It also includes a <noscript> version with a strangely formatted version of
the e-mail. I've been searching for information about this and getting
stuck.
Can anyone tell me where this is happening and how I can disable or modify
it?
The behaviour is defective because it does not properly rebuild the a tag.
Any attributes, such as classes, that existed on the a tag disappear. It's
also incredibly frustrating behaviour. It should never silently rewrite
user content like this, *especially* if it means including javascript in
the page and enforcing a weird e-mail format in the noscript tag. But I
can't for the life of me figure out where this is happening. Does it even
happen in Hakyll, or is an import responsible for it?
Thanks,
Chris
I opened an issue but I think I should ask here as well.
It seems like Hakyll is rewriting anchor tags that contain "mailto" links.
It replaces the tag with a <script> block that writes the tag dynamically.
It also includes a <noscript> version with a strangely formatted version of
the e-mail. I've been searching for information about this and getting
stuck.
Can anyone tell me where this is happening and how I can disable or modify
it?
The behaviour is defective because it does not properly rebuild the a tag.
Any attributes, such as classes, that existed on the a tag disappear. It's
also incredibly frustrating behaviour. It should never silently rewrite
user content like this, *especially* if it means including javascript in
the page and enforcing a weird e-mail format in the noscript tag. But I
can't for the life of me figure out where this is happening. Does it even
happen in Hakyll, or is an import responsible for it?
Thanks,
Chris
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.