[TYPO3-english] powermail prints unwanted <br> in submit button

Muriel le Pair typo3 at strangefruit.nl
Wed Nov 16 10:31:36 CET 2011

Hi Micheal,

On 16-11-11 09:56, Michael Cannon wrote:

> Could you please clarify which Powermail version has the br problem?

Powermail version 1.6.4

I have also tried to downgrade Powermail to version 1.6.0 what works 
perfectly on another website with TYPO3 4.5.2

In version 1.6.0 the <br> is visible in all labels (as if it was run 
through htmlspecialchars()).

> Are you using any custom TypoScript at all that might affect Powermail?

Not to the best of my knowledge.
I have tried to remove the <br> tag with the following line, but it 
seems to have no effect.

plugin.powermail {
   label.allowTags = <p><b><strong><a>

> Did you recently upgrade TYPO3 via a minor release, like 4.1 to 4.2 or 4.2
> to 4.5?

I have upgraded from version 4.4.? (not sure, 4 or 2) to 4.5.7.

I have also looked at the source code of Powermail trying to find the 
spot there the extra <br> is added (it just felt like it was run through 
nl2br() and htmlspecialchars(). But the odd thing is that I couldn't 
find it.

Looked at the database hoping to be able to remove an extra space or 
something. Couldn't find it.

Removed all cache files over and over.

So I'm basically clueless. I somehow have the feeling it has something 
to do with the upgrade from version 4.4.? to 4.5.7

Kind regards,

Muriel le Pair

More information about the TYPO3-english mailing list