khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Figure caption disappears right after HTML comment #309

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is a blank line required after a comment using <!-- -->?
Caption of a figure depends on the blank line after a comment.

Here is a example of try.mdown.

Figures
========

<!-- comment -->
![Figure Caption right below comment.](Picture1.png)

<!-- comment -->

![Figure Caption after a blank line](Picture1.png)

<!-- this comment -->
This is right below the comment.

<!-- another comment -->

Content line after a blank.

Run pandoc
pandoc -s -o try.tex try.mdown

What is the expected output? What do you see instead?
The caption of the first figure is not shown in the LaTeX output.
The caption of the second figure is shown correctly.

What version of the product are you using? On what operating system?
pandoc 1.9.4.2 
Ubuntu 12.04 LTS

Please provide any additional information below.

Original issue reported on code.google.com by doo.y...@gmail.com on 27 Jul 2012 at 5:10