You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure, but I think the result is not valid html, aside from being incorrect. It looks like it's localized to only strong and emphasis textile markup because they start with asterisk which is also used for lists. I haven't had a chance to dive into this myself, but if I find a solution, I'll pass it along.
The text was updated successfully, but these errors were encountered:
Having looked through that issue thread, it seems to be slightly different from this one.
If *blah* is changed to %blah% instead, it works just fine. Both <strong> and <span> can contain the same types on content and can have the same types of parent elements, so shouldn't *blah* and %blah% be handled the same? It's only the fact that the textile syntax for strong, emphasis and unordered lists all utilize an asterisk that introduces this sort of logical conundrum.
Textile is consistent about separating content when two newlines are entered, and if that's what's desired, then that should be in the input. However, in this edge-case it would seem that the logical that the single newline is deliberate and would imply the expected output above.
I'm going to first try to produce that result in python-textile, and then see about porting the solution over to php-textile. Sound good?
I had a user of python-textile report an issue which I found produces strange output in php-textile. The input:
Expected output:
Result:
I'm not sure, but I think the result is not valid html, aside from being incorrect. It looks like it's localized to only strong and emphasis textile markup because they start with asterisk which is also used for lists. I haven't had a chance to dive into this myself, but if I find a solution, I'll pass it along.
The text was updated successfully, but these errors were encountered: