View Issue Details

IDProjectCategoryView StatusLast Update
0007674module Visual CMSmodule Visual CMS - subpublic2024-07-30 13:23
Reporterszdirk Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version5.0.1 
Fixed in Version5.0.2 
Summary0007674: Escaped Help text in widgets
DescriptionHelp infos for all different option fields should not be escaped. "raw"-filter should be used for all options ( vendor/ddoe/visualcms-module/views/twig/options )

Change

<p class="help-block">{{ aOption.getHelp() }}



to

<p class="help-block">{{ aOption.getHelp()|raw }}



for all options templates.
Steps To Reproduce1. Develop a new widget or extend any OXID widget
2. Add a help key ( with html entities in language string ) to any option field in getOptions() method
  e.g.
'form_setup' => new TextAreaOption(
                    label: $language->translateString('CONTACTFORM_FIELDS'),
                    help: $language->translateString('CONTACTFORM_FIELDS_HELP')
                ),
3. Help text is escaped in VCMS Module
TagsNo tags attached.
Attached Files
escaped.png (39,712 bytes)   
escaped.png (39,712 bytes)   
correct.png (34,501 bytes)   
correct.png (34,501 bytes)   

Relationships

related to 0007667 resolvedSvenBrunk Apex Theme HTML not rendered in the short description field 

Activities