Closed nmartini closed 8 years ago
as far as I know the behavior you describe isn't valid textile. If you find some documentation of this, reopen the issue.
http://textile.thresholdstate.com/ http://pygments.org/demo/1101/
using it in our codebase for inline variables that need styling without a paragraph wrapping it (
breaks layout). I reverted back to textile 2.1.4 for our project, we're good now.
On Tue, Sep 20, 2011 at 2:46 PM, Chris Drackett reply@reply.github.com wrote:
as far as I know the behavior you describe isn't valid textile. If you find some documentation of this, reopen the issue.
Reply to this email directly or view it on GitHub: https://github.com/chrisdrackett/python-textile/issues/3#issuecomment-2150237
Thanks, I'll look into this.
To be honest, it does seem like a weird way of opting out of the paragraph wrapper, I totally sympathize with the idea of it seeming hacky or unofficial. Nonetheless, we need to be able to do that somehow, and it was the only way I could find.
Hey thanks for maintaining textile in here, love it. :)
On Tue, Sep 20, 2011 at 3:00 PM, Chris Drackett reply@reply.github.com wrote:
Thanks, I'll look into this.
Reply to this email directly or view it on GitHub: https://github.com/chrisdrackett/python-textile/issues/3#issuecomment-2150375
Seems to be fixed:
>>> print(textile.textile('a\n\n b', auto_link=True))
<p>a</p>
b
in previous versions a leading space would prevent the text from being wrapped in a paragraph tag. 2.1.5 seems to have broken this.