public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Problem at parsing code block with long attributes
@ 2013-06-11 12:53 Björn Peemöller
       [not found] ` <51B71DCA.2060105-jNDFPZUTrfRKC+uPiMyuuyYxWCU7E+c1@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Peemöller @ 2013-06-11 12:53 UTC (permalink / raw)
  To: pandoc-discuss

Hi,

I just discovered a strange behaviour when it comes to fenced code
blocks with long attributes. When I process the following file

~~~~~~
Text.

~~~ {.java .numberLines include="3_ExtendedBuffer/TimeException.java"}
foo
~~~

Text.

~~~ {.java .numberLines include="3_ExtendedBuffer/TimeonException.java"}
bar
~~~
~~~~~~

using `cat test.markdown | pandoc -t markdown`, I get

~~~~~~
Text.

~~~~ {.java .numberLines include="3_ExtendedBuffer/TimeException.java"}
foo
~~~~

Text.

~~~~
{.java .numberLines include="3_ExtendedBuffer/TimeonException.java"}
bar
~~~~
~~~~~~

That is, in the second code block the attributes are parsed as content
of the code block.

Can somebody explain this behaviour? I'm using pandoc 1.11.1.

Thanks in advance,
Björn

-- 
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/51B71DCA.2060105%40informatik.uni-kiel.de?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.




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

end of thread, other threads:[~2013-06-11 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-11 12:53 Problem at parsing code block with long attributes Björn Peemöller
     [not found] ` <51B71DCA.2060105-jNDFPZUTrfRKC+uPiMyuuyYxWCU7E+c1@public.gmane.org>
2013-06-11 13:08   ` Joost Kremers
     [not found]     ` <m2obbcpzgu.fsf-4Qa7NeS2ENVPDCrvnpRrPfNq91seawkrvu54Y+ZNwJg@public.gmane.org>
2013-06-11 17:17       ` John MacFarlane

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).