OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums 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 1 year, 2 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #39714


    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):

    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

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

The forum ‘OroPlatform’ is closed to new topics and replies.

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

Yes No