Project

General

Profile

Actions

Bug #32210

closed

Preview DIV destroys encoding (in IE and others)

Added by Michael Fritz over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-11-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

Whenever I preview pages in IE, my umlauts get destroyed. The red preview DIV is inserted before the doctype and html tag, so some browsers (IE/Chrome) guess the right encoding and make some ISO encoding valid for the whole page.

To avoid this, I just add the DIV to the end of the site.

HOTFIX: class.tslib_fe.php

3988 function previewInfo:

OLD:echo $temp_content;
NEW:$this->content .= $temp_content;


Files

class.tslib_fe.php.patch (5.38 KB) class.tslib_fe.php.patch The Patch includes a little bit of nice stying and a language selector for workspaces. Michael Fritz, 2011-11-30 13:57

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #30897: Preview message causes javascript errorsClosed2011-10-13

Actions
Actions #1

Updated by Jose Antonio Guerra over 12 years ago

This is a duplicate of #30897 (which is resolved and fixed in 4.5.8)

Actions #2

Updated by Xavier Perseguers over 12 years ago

  • Status changed from New to Rejected

Closed as duplicate

Actions

Also available in: Atom PDF