Koen,

you could try using DOM's HTML parsing mode by setting the parameter "parse_xhtml_as_xml" to false, that might leave <base> intact. HTML parsing mode is a bit buggy and not recommended, though.

Another alternative would be to rewrite <base> by hand in another filter (or subclassed FPF).

Finally, you could google around a bit to see if Tidy handles this situation; Agavi 1.0 has a TidyFilter (that works on 0.11, too).

In general, we have not much control over the optimizations DOM/libxml do when saving the document (such as this shorthand syntax thing).

- David

P.S: Firebug's source code display doesn't show the exact code sent by the server. Use the normal "view source" function.


Am 30.09.2008 um 11:46 schrieb Van Daele, Koen:

Hi all,

I'm faced with a problem that emerges from using a combination of Dojo, the <Base> tag, the FPF and (of course) IE6. Apparently IE can't handle
<base href="foo" /> and needs to have it as <base href="foo"></base>.
The recommended fix for this is using:
<base href='foo'/><!--[if IE]></base><![endif]-->

This works fine, but anytime I have a form where the FPF is used in
combination with Dojo IE6 can't load the page. After checking the output
in firebug it looks to me as if the FPF 'fixes' the output from
<base></base> to <base/>. Does anyone know a way around this?

Greetings,
Koen

Koen Van Daele
IT-verantwoordelijke
Vlaams Instituut voor het Onroerend Erfgoed
Phoenix gebouw - Koning Albert II laan 19 bus 5
1210 Brussel

Tel.: 02/553.16.82
Website: http://www.vioe.be



<Koen Van Daele (koen .vandaele @rwo .vlaanderen.be).vcf>_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to