Project

General

Profile

Actions

Bug #94913

closed

Fluid: <f:form> renderd as &lt;form

Added by Mario Wilhelm over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-08-17
Due date:
% Done:

0%

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

Description

In my fluid-template I have a form build with

<f:form action=""></f:form>

my output shows

&lt;form action=""&gt;

I have tried to wrap with

<f:format.html>, <f:format.raw>
nothing helps.

It seems to be an additional problem with htmlSanitize.

Actions #1

Updated by Oliver Hader over 2 years ago

  • Status changed from New to Needs Feedback

Please check the scenarios at https://github.com/TYPO3/html-sanitizer/issues/23 (again).

In case tags get encoded, it means that either

  • <f:format.html> is used in some upper template, layout or partial
  • or stdWrap.parseFunc is invoked for the the generated markup
Actions #2

Updated by Mario Wilhelm over 2 years ago

Oliver Hader wrote in #note-1:

Please check the scenarios at https://github.com/TYPO3/html-sanitizer/issues/23 (again).

In case tags get encoded, it means that either
  • or stdWrap.parseFunc is invoked for the the generated markup

I've added this

page.10 = FLUIDTEMPLATE
page.10 {
  stdWrap.parseFunc {
    htmlSanitize = 0
  }
}

It does not work. I've also no <f:format.html>.

Actions #3

Updated by Mario Wilhelm over 2 years ago

Found the issue.

It was this part in the page.

page.stdWrap.parseFunc.short {
  #eintrag = ein&#8209;trag
}

Tickt can be closed.

Actions #4

Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Needs Feedback to Closed

@Mario Wilhelm thank you for your findings and reply.

Closing the issue in agreement with the reporter.

If you think that this is the wrong decision or experience the issue again, please reopen it or open a new issue with a reference to this one.

Thank you.

Actions

Also available in: Atom PDF