OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums OroPlatform Datagrids: How prevent column values from html-tag-escaping?

This topic contains 2 replies, has 2 voices, and was last updated by  Frank 5 months, 2 weeks ago.

  • Creator
    Topic
  • #39714

    Frank
    Participant

    Hi there,

    i want to add an extra column ‘description’ to a user-listing datagrid in backend.

    All works fine:
    1. With the help of an extra bundle I can extend/overwrite existing oro-bundle.
    2. The existing datagrids.yml was expanded/appended very simple using the same datagrid-name, adding only an extra column (similiar to):
    https://forum.oroinc.com/orocommerce/topic/how-to-extend-the-datagrid-yml-of-orob2bproductbundle

    In database the description value is stored as htm-text. Unfortunately, output in backend-listing is escaped. For example ‘Peter is working very hard.‘ instead of ‘Peter is working very hard’.

    What can I do to prevent html-escaping?
    In TWIG exists raw-filter. May be I can apply this in a way like:

    Unfortunately this is not working. ‘data_name’ seems to be the wrong parameter-name. It is ignored at all.

    Thanks for help.

    ind regards
    Frank

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No