Arc Forumnew | comments | leaders | submitlogin
3 points by zck 319 days ago | link | parent

Yeah, when I dug more into the spec, I found out that <p> tags can't be self-closed. Only void and foreign elements can be self-closed (

The closing </p> can be omitted if the next tag is one of 25 different tags (, see "tag omission").

What I ended up coding was that the (para) call will always add a closing tag. This is more consistent with the spec -- as far as I can tell, the closing tag is never required to be omitted.