[Petal] Problems with HTML Parser

Paul Arzul patricka@mkdoc.com
Thu, 08 Aug 2002 12:22:37 +0100


William McKee wrote:
> Also, my link tag to 
> include an external CSS stylesheet is being transformed from:
> 
>     <link href="../qns.css" type="text/css" rel="stylesheet" />
> 
> to:
>     <link href="../qns.css" type="text/css" rel="stylesheet"></link>

here's a list[1] of empty elements (which need careful handling):

---8<---
area
base
basefont
br
col
frame
hr
img
input
isindex
link
meta
param
--->8---

[1] http://www.w3.org/TR/html401/index/elements.html