Awkee / pandoc

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

Percent (%) does not work as an underline character in reStructuredText #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an .rst document that uses % as an underline character

Underline
%%%%%%%%%%

2. Run pandoc to convert it to another format

pandoc in.rst --to=html

What is the expected output? What do you see instead?

The expected output:

<div id="underline"
><h1
  >Underline</h1
  ></div
>

The actual output:

<p
>Underline %%%%%%%%%</p
>

What version of the product are you using? On what operating system?

pandoc 1.2.1 on Ubunty Jaunty

Please provide any additional information below.

http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections
states that % should work as an underline character (and the native 
reStructuredText tools support its use as such)

Original issue reported on code.google.com by joshh...@gmail.com on 27 Oct 2009 at 9:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1612.

Original comment by fiddloso...@gmail.com on 29 Oct 2009 at 5:52

GoogleCodeExporter commented 9 years ago
Thanks - % seems to have been added as an underline character since I last 
checked
the rst specification.  This has been fixed in r1612.

Original comment by fiddloso...@gmail.com on 29 Oct 2009 at 5:52