[Catalyst] Catalyst::View::TT

Jonathan Rockway jon at jrock.us
Mon Nov 13 17:11:13 GMT 2006


Ivan Wills wrote:
> I realise this is not normally a problem but I am playing with mixing
> SVG and XHTML (with content-type=text/xhtml) but Firefox considers the
> extra blank lines to be an error when in XML rendering mode if they
> appear before the <?xml ... ?> deceleration.

If you're mixing XHTML and SVG, don't send it as text/xhtml.  Use
application/xhtml+xml.  XML is not text.

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;



More information about the Catalyst mailing list