Closed (works as designed)
Project:
Bootstrap fieldgroup
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2015 at 05:45 UTC
Updated:
20 Apr 2016 at 03:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
adam-delaney commentedRunning these variables through both the check_plain() and t() is not causing the double encoding and both functions are important in order to have localization and security. I am providing an updated path that encodes the strings once they have been ran through their other functions.
Comment #2
mstrelan commentedOriginal patch still runs it through both t() and check_plain(), but prevents this from happening twice.
Comment #3
ckngFor this case, you will need to handle the title yourself. Title and label are plain text per Drupal core.
Best place is in preprocess functions.
E.g. (not tested)