SourceForge.net | 8 Oct 05:16
Favicon
Gravatar

[ docutils-Bugs-2152541 ] double-quotes inside code block get translated by htmlwriter

Bugs item #2152541, was opened at 2008-10-07 22:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=422030&aid=2152541&group_id=38414

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jeet Sukumaran (jeetsukumaran)
Assigned to: Nobody/Anonymous (nobody)
Summary: double-quotes inside code block get translated by htmlwriter

Initial Comment:
The following rst source:

   This is a sample of Python code::

        print "Hello, world"

Results in the following HTML:

u'<p>This is a sample of Python code:</p>\n<pre class="literal-block">\nprint &quot;Hello, world&quot;\n</pre>\n'

Using 'core.publish_parts(s, writer_name="html")["fragment"]'.
(Continue reading)


Gmane