View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007674 | module Visual CMS | module Visual CMS - sub | public | 2024-06-13 16:57 | 2024-07-30 13:23 |
Reporter | szdirk | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 5.0.1 | ||||
Fixed in Version | 5.0.2 | ||||
Summary | 0007674: Escaped Help text in widgets | ||||
Description | Help 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 Reproduce | 1. 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 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||