Re: html code in <script>

Mikko Rantalainen schrieb:
> If you want to use XHTML, the best way is to check the
> Accept-header and if it doesn't contain "application/xhtml+xml"  then the
> server must encode the content as a real HTML document.

   Accept: text/html;q=1.0, application/xhtml+xml;q=0.9, ...

Just checking "contains 'application/xhtml+xml'" is not enough.

-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)

Received on Wednesday, 14 November 2007 14:33:23 UTC