Actions
Bug #32515
closedForm values with newlines are displayed with <br/>'s in email
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2011-12-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
When entering a text with newlines in a textarea, the newlines are displayed as <br/>'s in the resulting email.
File: typo3/sysext/form/Classes/View/Mail/Html/Element/Abstract.php
Function: getInputValue()
The input value is first parsed through nl2br() and then through htmlspecialchars(), which results in escaped <br/> tags instead of real <br/> Tags (for the html mail).
Actions