Re: Literals with Spaces in Sphinx
[email protected] (Stefan Ram)
| Newsgroups | comp.lang.python |
|---|---|
| Organization | Stefan Ram |
| Message-ID | <[email protected]> |
[email protected] (Stefan Ram) wrote or quoted: >But if you make these three changes to the Sphinx >"docutils/parsers/rst/states.py" file, it works >(no guarantees, try it at your own risk!): What are those spaces at the start or end of a literal even supposed to be good for? They might not be the best idea if you think about what HTML or LaTeX could do with them (line break!). But I wanted to generate reST, and it made me uneasy to think that certain characters just could not be in certain spots . . .