[TYPO3-core] RFC: 10468: [FE][tidy] and page-types with non-html don't play well together

Niels Fröhling niels.froehling at adsignum.com
Tue Feb 17 20:56:26 CET 2009


Hi,

This is SVN patch request.

Type: Bugfix or feature (depends on point of view)

Branches: trunk

BT reference: http://bugs.typo3.org/view.php?id=10468

Problem:
If you have the tidy-option enabled (and tidy installed), tidy is indescriminate 
applied to all generated pages-types.

Reproduce:
1) install tidy
2) enable [FE][tidy] = 1
3) create a page-type that renders fe. javascript
4) access the page (depends on your tidy mode, cached or non-cached)

Result:
1) you get standard HTML wrapped around your fe. javascript

Solution:
1) allow tidy to be turned off via TS "config.tidy"
2) implement a conservative autodetection option "tidy = 2" which matches the 
content-type automatically

Ciao
	Niels
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10468.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090217/f5dbba82/attachment.txt 


More information about the TYPO3-team-core mailing list