Open adam-iris opened 2 years ago
Works fine with multiple lines:
>>> print(textile.textile('''<pre><code>Line1\nLine2</code></pre>''')) <pre><code>Line1 Line2</code></pre>
But a blank line causes the contents to be textile-ized:
>>> print(textile.textile('''<pre><code>Line1\n\nLine2</code></pre>''')) <p><pre><code>Line1</p> <p>Line2</code></pre></p>
It looks like you can work around this by using bc..:
bc..
>>> print(textile.textile('''bc.. Line1\n\nLine2''')) <pre>Line1 Line2</pre>
Works fine with multiple lines:
But a blank line causes the contents to be textile-ized:
It looks like you can work around this by using
bc..
: