[Twisted-Python] Re: Twisted 1.0.4 - `html' .vs. `xhtml'

Andrew Bennetts andrew-twisted at puzzling.org
Wed Apr 23 00:49:34 EDT 2003


On Wed, Apr 23, 2003 at 02:37:45PM +1000, Tim Allen wrote:
> On Wednesday, Apr 23, 2003, at 00:23 Australia/Sydney, Andrew Bennetts 
> wrote:
> >Well, links could be more intelligent here, and it seems other browsers
> >manage to figure this out just fine.  Neither the presence of a 
> ><!DOCTYPE
> >...> declaration or the opening <html> tag seem sufficient for links to
> >realise that it is dealing with actual HTML.  Additionally, I wasn't 
> >able to
> >successfully configure my local links to recognise .xhtml as being
> >html/plain content, even though the menus seemed to suggest I could (it
> >happily accepted the entry, but the behaviour was unchanged).
> 
> Just as a point of pedanticism, what happens if you configure your 
> local links to recognise .xhtml as "text/html" rather than "html/plain"?

Good question.

Answer: still no luck.

(Incidentally, I tried "html/plain" because of the "Toggle html/plain    \"
entry in the View menu, which made it render the page properly.)

-Andrew.





More information about the Twisted-Python mailing list