Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-3.2
Component:
Theme Settings
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Mar 2015 at 17:35 UTC
Updated:
24 Jul 2024 at 09:46 UTC
Jump to comment: Most recent
Comments
Comment #1
Jeff Burnz commentedAre some tags allowed or no tags at all, this has never been really clear to me. Easy to fix either way.
Comment #2
Pablo Romero commentedExtracted from includes/locale.inc (Drupal 7.35):
Any other tags are filtered as "not safe" for Locale module.
Comment #3
NSp commentedWhy do you think the "table" tag is allowed and the "div" is not?
Comment #5
Jeff Burnz commentedBetter late than never, fixed it.
@NSp, div is not allowed because it's not in the locale_string_is_safe() list of allowable tags.
Comment #7
vvs commentedBad commit...
And how to translate these strings? :(
Comment #8
avpadernoHTML tags do not need to be translated: A
<div>is still a<div>, whichever language is used for the page.Translators should not change a HTML tag used in a translatable string, though. They do not know where the HTML markup is used, they could make the full page not correct.