[TYPO3-core] RFC #16740: <img> Tags are rendered with border attribute in HTML5 mode

Sebastian Michaelsen sebastian.gebhard at gmail.com
Sat Jan 15 09:00:59 CET 2011


Am 14.01.2011 20:43, schrieb Jigal van Hemert:
Thanks for bringing this up.
> It seems that you have to check if either config.doctype or config.xhtmlDoctype is set to an xhtml
> keyword or html(_)5 (.. snip ..) to decide that the
> border attribute is not rendered.

I think it's the following schema:

if config.doctype == html5
	config.doctype = html5
	config.xhtmlDoctype =

if config.doctype == xhtml_*
	config.doctype = xhtml_*
	config.xhtmlDoctype xhtml_*

if config.xhtmlDoctype == xhtml_*
	config.doctype = (maybe some doctype content string)
	config.xhtmlDoctype xhtml_*

Based on that v3 should work
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16740_v3.diff
Type: text/x-diff
Size: 1159 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110115/6124aee8/attachment.diff>


More information about the TYPO3-team-core mailing list