Discussion:
[hakyll] "<a" links suddenly not rendered as links anymore
e***@gmail.com
2016-02-26 10:44:15 UTC
Permalink
Hi all,

After I upgraded Hakyll and Pandoc (and I'm sure tons of other packages),
any links in my posts that use explicit HTML tags (<a ...) suddenly are no
longer parsed as links but instead as plain text and therefore rendered as
"&html;a ..." in the output; this didn't use to happen. I realize that
using "<a" is not the common way of including links, but it used to work
and I use it quite a lot. I tried explicitly setting readerParseRaw as well
as Ext_raw_html, Ext_link_attributes and Ext_markdown_in_html_blocks but
all to no avail (and anyway, other raw HTML is recognized just fine, as is
other markup instead that HTML). Is there a way to get the old behaviour
back?

Thanks,

Edsko
--
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.
Jasper Van der Jeugt
2016-03-29 14:43:43 UTC
Permalink
I don't think there is a way to get the old behaviour back, except
maybe from writing a custom Haskell function that converts these links
*before* they are passed to Pandoc.

But if you're doing something like that anyway, you might as well just
run this function over your existing markdown files once...

Peace,
Jasper
Post by e***@gmail.com
Hi all,
After I upgraded Hakyll and Pandoc (and I'm sure tons of other packages),
any links in my posts that use explicit HTML tags (<a ...) suddenly are no
longer parsed as links but instead as plain text and therefore rendered as
"&html;a ..." in the output; this didn't use to happen. I realize that
using "<a" is not the common way of including links, but it used to work
and I use it quite a lot. I tried explicitly setting readerParseRaw as well
as Ext_raw_html, Ext_link_attributes and Ext_markdown_in_html_blocks but
all to no avail (and anyway, other raw HTML is recognized just fine, as is
other markup instead that HTML). Is there a way to get the old behaviour
back?
Thanks,
Edsko
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
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.
Loading...