"Strong" in title

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

"Strong" in title

Post by einmaku » 01 Jul 2022, 16:04

Extension 21.10.3
Test - Name in bold / in Service/Shipping

When I define a text as type "name" and write the text ini bold there appears in frontend in the title:
<STRONG>any text</STRONG>
Pls see attachments:
How to avoid?
Attachments
Name-1.JPG
Name-1.JPG (38.57 KiB) Viewed 2503 times
Lieferung-Name.JPG
Lieferung-Name.JPG (53.3 KiB) Viewed 2503 times

einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Re: "Strong" in title

Post by einmaku » 02 Jul 2022, 12:22

how to get rid of that bug?

User avatar
aimeos
Administrator
Posts: 7865
Joined: 01 Jan 1970, 00:00

Re: "Strong" in title

Post by aimeos » 04 Jul 2022, 11:43

Not really a bug but you shouldn't either use HTML tags in service names or overwrite the template for the checkout delivery/payment page and either
a) remove HTML tags using strip_tags() or
b) add $enc::TRUST as second parameter to allow HTML tags there

See: https://github.com/aimeos/ai-client-htm ... dy.php#L67
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply