in reply to Ideas for PerlMonks Markup support in an editor
Which browser are you implementing? ;-) On firefox, that first one doesn't do what it says it does. It actually renders as:
italic bold italic
bold
still bold. normal
Firefox seems to enforce nesting. Which, as I recall (perhaps incorrectly), is the way that the HTML standards have always described things. Not closing tags in reverse order of them being opened cause "undefined behaviour," which, as most computer programming geeks should know, means that it could format your hard disk. Sounds like your browser has chosen to implement the undefined behaviour as "continue the text formatting" while Firefox has chosen to implement it as "automatically close off tags that should have been closed." Neither one is wrong as per my recollection of the standard.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ideas for PerlMonks Markup support in an editor
by GrandFather (Saint) on Aug 06, 2006 at 18:43 UTC | |
|
Re^2: Ideas for PerlMonks Markup support in an editor (blame)
by tye (Sage) on Aug 07, 2006 at 01:39 UTC |