public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* unicode problem in pandoc 1.15.1.1?
@ 2015-10-31 17:24 Colin McLear
       [not found] ` <4108b473-17d8-4e05-8d9d-62891f1e5dad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Colin McLear @ 2015-10-31 17:24 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1192 bytes --]

I'm seeing a weird bug in the pandoc wrapper that I'm using for my pelican 
blog. links like `[research]({filename}/pages/Research.md)` are turning 
into `<ahref="%7Bfilename%7D/pages/Research.md">research</a>`. Note the 
unicode `%7B` and `%7D` around "filename". Perhaps this is normal, but it 
seems to now throw bugs for Pelican, which doesn't recognize the converted 
link. As far as I can tell nothing about my Pelican setup has changed to 
cause the bug, so I'm assuming it is in pandoc, and if I don't use the 
pandoc wrapper everything in Pelican works normally. If anyone has any 
ideas I'd love to hear them!

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4108b473-17d8-4e05-8d9d-62891f1e5dad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1653 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unicode problem in pandoc 1.15.1.1?
       [not found] ` <4108b473-17d8-4e05-8d9d-62891f1e5dad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-03  1:40   ` Colin McLear
  0 siblings, 0 replies; 2+ messages in thread
From: Colin McLear @ 2015-11-03  1:40 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1810 bytes --]

I think I've figured out the problem. Starting with pandoc 1.15.1 there was 
a change in the way some characters were percent encoded


>    - Percent-encode more special characters in URLs (#1640 
>    <https://github.com/jgm/pandoc/issues/1640>, #2377 
>    <https://github.com/jgm/pandoc/issues/2377>). The special characters 
>    are '<','>','|','"','{','}','[',']','^', '`'.
>
>
This seems to have broken the pandoc_reader wrapper for pelican. I'll check 
with the developer upstream to see whether it can be fixed.  

On Saturday, October 31, 2015 at 1:24:17 PM UTC-4, Colin McLear wrote:
>
> I'm seeing a weird bug in the pandoc wrapper that I'm using for my pelican 
> blog. links like `[research]({filename}/pages/Research.md)` are turning 
> into `<ahref="%7Bfilename%7D/pages/Research.md">research</a>`. Note the 
> unicode `%7B` and `%7D` around "filename". Perhaps this is normal, but it 
> seems to now throw bugs for Pelican, which doesn't recognize the converted 
> link. As far as I can tell nothing about my Pelican setup has changed to 
> cause the bug, so I'm assuming it is in pandoc, and if I don't use the 
> pandoc wrapper everything in Pelican works normally. If anyone has any 
> ideas I'd love to hear them!
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2f259400-53c3-4522-b097-731aa0cda707%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 3351 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-03  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-31 17:24 unicode problem in pandoc 1.15.1.1? Colin McLear
     [not found] ` <4108b473-17d8-4e05-8d9d-62891f1e5dad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-03  1:40   ` Colin McLear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).