Project

General

Profile

Actions

Bug #100107

closed

f:asset adds semikolon = W3C validation error

Added by Stefan Grothus over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
Start date:
2023-03-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I use f:asset for inline CSS, a semicolon is added at the end before the closing tag: <f:asset.css identifier="hohoho-{data.uid}">.hello {color: black;}</f:asset.css> results in: <style>.hello{color:#000};</style>
The W3C validator throws an error here (Parse error)


Files

asset_error.jpg (7.97 KB) asset_error.jpg Stefan Grothus, 2023-03-07 10:46
Actions #1

Updated by Georg Ringer over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer over 1 year ago

  • Status changed from New to Needs Feedback

are you using any optimizer or other extension because TYPO3 doesn't change black to #000, just tested it on v12

Actions #3

Updated by Wolfgang Wagner over 1 year ago

I cannot reproduce this error in my installations.

Actions #4

Updated by Benni Mack over 1 year ago

This a Fluid parse error, as far as I remember.

Actions #5

Updated by Benni Mack over 1 year ago

@Stefan Grotus do you have more information?

Actions #6

Updated by Stefan Grothus over 1 year ago

Benni Mack wrote in #note-5:

@Stefan Grotus do you have more information?

Just tried in 11.5.8. and it seems to be fixed for me.

Actions #7

Updated by Oliver Hader about 1 year ago

  • Status changed from Needs Feedback to Closed

Reported fixed

Actions

Also available in: Atom PDF