Bug #20039

[FE][tidy] and page-types with non-html don't play well together

Added by Niels Fröhling over 4 years ago. Updated 17 days ago.

Status:Needs Feedback Start date:2009-02-17
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.2 Complexity:
PHP Version:5.3
Votes: 0

Description

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

(issue imported from #M10468)

10468.diff (1.2 kB) Administrator Admin, 2009-02-17 20:52

History

Updated by Alexander Opitz 17 days ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Also available in: Atom PDF