Skip to content

Directive values are not quote-escaped #3860

Closed
@adragus-inviqa

Description

@adragus-inviqa

This is still the case: http://stackoverflow.com/questions/23925826/magento-widgets-truncate-fields-containing-quotes

I can imagine why this is happening.
The fix is up to you. There are several ways to tackle this.

Steps to reproduce

  1. Search for or create a widget which has a text config/parameter.
  2. Insert that widget into a CMS page/block using the editor, setting the value to There is no "escape"!

Expected result

  1. A directive inserted as {{... my_text_value="There is no "escape"!"}} <-- this looks wrong, ofc, but it's just to show you what I mean.

Actual result

  1. The directive is inserted as {{... my_text_value="There is no "}}
  2. Sigh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions