why g:no_escape not gen to html

Le Son
Tera Contributor

I have param with valuse is "Test <br> OK" is passed from UI Action.

I use j:set and RP.getWindowProperties().get('sysparm_msg') to get value (value has been obtained)

I want br tag is gened as same HTML tag. However, It still cannot gen HTML tag

This is code

LeSon_0-1708939117193.png

This is Result:

LeSon_1-1708939178175.png

this is the desired result: 

LeSon_2-1708939256623.png

 

 

 

 

2 REPLIES 2

James Chun
Kilo Patron

Hey @Le Son,

 

Can you try replacing line 13 with the following?

<g:no_escape>${jvar_param2}</g:no_escape>

 

Cheers

It's still the same