Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Wiki-Style syntax for posting

by JavaFan (Canon)
on Oct 17, 2008 at 15:21 UTC ( [id://717766]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Wiki-Style syntax for posting
in thread Wiki-Style syntax for posting

Considering that the HTML DTD specifically allows the close tag of the P element to be optional (on the account that the close tag can be inferred), I'm surprised the recommendation here is to use the close tag. That sounds very un-Perlish - and more Pythonesque.

Not that I ever do ;-) (Nor do I use close tags for LI)

Replies are listed 'Best First'.
Re^4: Wiki-Style syntax for posting
by jvector (Friar) on Oct 17, 2008 at 15:34 UTC

    Surprised me too.

    I think I will turn down my error reporting level again ;-)

    Reminds me of the apocryphal stories about turning off 'use strict;' to make the errors go away ;-)

    This signature will be ready by Christmas
Re^4: Wiki-Style syntax for posting
by DStaal (Chaplain) on Nov 28, 2008 at 20:34 UTC

    XHTML requires them, while HTML leaves them optional. Perlmonks seems to use transitional, in HTML mode. Which means it should be ok, in theory.

    That said, the interactions between them and a several of the other HTML tags that are allowed here can get fairly complex, and it is not always obvious — even with the spec — which way they are supposed to be resolved.

    Consider them something that use warnings; will complain about. ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://717766]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found