[wp-trac] Re: [WordPress Trac] #3764: Selectable Output

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 13 18:54:23 GMT 2007


#3764: Selectable Output
-------------------------+--------------------------------------------------
 Reporter:  tandilboy    |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  low          |    Milestone:  2.3      
Component:  General      |      Version:  2.2      
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by tombarta):

 If you want to embed MathML or SVG into an XHTML document (at least to
 Firefox), you have to serve it up with a different Content-Type.  Because
 of the XML parsing, this will break if plugins or themes produce invalid
 markup.  Legacy HTML support (ideally 4.01 strict, but resiliant to
 errors) should still be provided alongside strict XML support if you
 really want to get the best of both worlds.

 Alternatively, this could be addressed from the other direction by
 applying something like Tidy to convert malformed markup.  Maybe as a
 user-controlled setting along the lines of: "Force XHTML output?  Warning:
 this may break badly-malformed content."  Or as Jeremy says, it could be
 automated: plugins/themes indicate whether or not they require HTML or
 XHTML formatting to function, and wordpress core verifies that everything
 matches.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3764#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list