On Wed, May 07, 2003 at 09:40:22PM -0500, Lee Daniel Crocker wrote:
(Nick Reinking
<nick(a)twoevils.org>)g>):
As far as Quotes.txt goes, ignoring the <p>s, we get:
[...]
Well that's broken in very different ways from the current code and
older versions. For one thing, \n should close all open phrase-level
markup; i.e., '' and ''' should not span lines.
On the other hand, <em><em>...</em></em> IS valid and legal (if
somewhat redundant) HTML.
As far as the \n closing, I can change it to behave like that, although
it seems clearer to me if it continues to span lines (ala HTML). It
doesn't bother me either way (other than a bit more coding). Do a lot
of people not close their ''/'''/'''''s?
This is how it works, based on what seems to be represented on
http://www.wikipedia.org/wiki/Wikipedia%3AHow_to_edit_a_page
'' ... '' <---- <em> ... </em>
''' ... ''' <---- <strong> ... </strong>
''''' ... ''''' <----
<strong><em> ... </em></strong>
That is, it considers ''''' to be entirely different than
''' followed by '' (which is how the current code parses it, but not
how the HOWTO page seems to explain it).
--
Nick Reinking -- eschewing obfuscation since 1981 -- Minneapolis, MN