Problem/Motivation

The below token does not render as expected if the source entity is a webform submission because the values contain <details> and <label> tags.

{{ webform_token('[webform_submission:source-entity:values]', webform_submission, [], options) }}

Proposed resolution

Allow admin html in the webform_token() Twig function

CommentFileSizeAuthor
#2 3181949-2.patch947 bytesjrockowitz

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

StatusFileSize
new947 bytes

  • jrockowitz authored 92fb4c9 on 8.x-5.x
    Issue #3181949 by jrockowitz: Allow admin html in the webform_token()...
jrockowitz’s picture

Status: Active » Fixed

  • jrockowitz authored 92fb4c9 on 6.x
    Issue #3181949 by jrockowitz: Allow admin html in the webform_token()...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.