Re: escaping Text so that's docutils doesn't try to format it?

Erik Stein <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
On 04.06.2018 17:48, David Goodger wrote:
> It should be safe.
>
> But if you're going to escape everything to prevent parsing, why
> bother using Docutils?
Certainly not everything, in this case I'm assembling figure-directives 
with captions from an image database. Had to hack Docutils 0.14 because 
substitutions cannot be used with block-only directives like 'figure'.

-- erik



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.