Project

General

Profile

Actions

Bug #14150

closed

t3lib_parsehtml: tags in comments are handled (incorrectly)

Added by Martin Kutschker about 20 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2004-05-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.9-dev
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It seems that comments are parsed as well. This leads to problems if you have either remnants from earlier versions if your template or simply real comments with tags (or tag-like content).

The problem is that TV tries to close open tags (eg TDs) that are within a comment, but puts the closing tag outside the comment. Perhaps there are other issues/combinations, but that's what i've experienced.

IMHO everything inside a comment should be ignored at all.

Version 0.2.0 from TER
(issue imported from #M72)


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #14988: xhtml_cleaning corrupts javascript in HTML-comment from extensionClosed2005-09-22

Actions
Related to TYPO3 Core - Bug #14868: xhtml_cleaning cleans HTML comments which is not wanted in any case (working patch included)ClosedSebastian Kurfuerst2005-07-17

Actions
Related to TYPO3 Core - Bug #15913: HTML cleaner corrupts Java Script codeClosedMichael Stucki2006-03-28

Actions
Actions #1

Updated by Robert Lemke over 18 years ago

Although I admit that this is not the behaviour we want, it takes too much time for me currently fixing the issue. The problem lies in the way how t3lib_parsehtml handles comments.

I therefore move this bug to the core category. I'd be glad if someone takes care of this, as I won't in the near future.

Actions #2

Updated by Chris topher about 14 years ago

According to Tobias Liebig on BugDay, this cannot be reproduced.

I close this one now after a long time without further feedback.

Actions

Also available in: Atom PDF