We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generally I like how textile let's HTML pass through, but I recently came across a problem along the lines of the following:
import textile print textile.textile("""<a href="_link_">label</a>""")
from which python-textile 2.1.5 produces:
<p><a href="<em>link</em>“>label</a></p>
which not only is wrong, but introduces a run-away attribute value that swallows parts of the page!
The text was updated successfully, but these errors were encountered:
Should this be combination of single- and double-quotes? With 3 double-quotes (as its displayed here on GH) the text is parsed as simple paragraph:
'\t<p>label</p>'
Sorry, something went wrong.
The current version gives this:
<p><a href="<em>link</em>”>label</a></p>
Which is still wrong and gives a syntax error. Textile should not be applied inside html-code.
No branches or pull requests
Generally I like how textile let's HTML pass through, but I recently came across a problem along the lines of the following:
from which python-textile 2.1.5 produces:
which not only is wrong, but introduces a run-away attribute value that swallows parts of the page!
The text was updated successfully, but these errors were encountered: