version 1.130, 2006/01/17 15:03:22
|
version 1.131, 2006/01/17 17:04:02
|
Line 746 void XhtmlElementComplete (ParserData *c
|
Line 746 void XhtmlElementComplete (ParserData *c
|
case HTML_EL_STYLE_: /* it's a STYLE element */ |
case HTML_EL_STYLE_: /* it's a STYLE element */ |
case HTML_EL_SCRIPT_: /* it's a SCRIPT element */ |
case HTML_EL_SCRIPT_: /* it's a SCRIPT element */ |
case HTML_EL_Preformatted: /* it's a PRE */ |
case HTML_EL_Preformatted: /* it's a PRE */ |
|
if (elType.ElTypeNum == HTML_EL_SCRIPT_) |
|
if (DocumentMeta[doc]->xmlformat) |
|
SetParsingScript (FALSE); |
|
else |
|
SetHtmlParsingScript (FALSE); |
|
|
/* if the last line of the Preformatted is empty, remove it */ |
/* if the last line of the Preformatted is empty, remove it */ |
leaf = XmlLastLeafInElement (el); |
leaf = XmlLastLeafInElement (el); |
if (leaf != NULL) |
if (leaf != NULL) |