'genexus problem printing attribute with html code

I am having a problem printing variables that contain html code.

Example: attribute = <p>Hello World</p>

When i go to print, using a procedure, i create a variable with a format of type 'HTML'

The end result is a nothing. I get an empty value.

When I modify the format to 'Text', i get <p>Hello World</p>

Is there is something I should be doing differently to print the html code correctly?

I tried this using &variable = '<p>Hello World</p>versus using the attribute, the result is the same.

Also, I have set the 'Word Wrap' property to true, and I find that value in the variable does not wrap.

I am using Gx 17u8

Any help would greatly be appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source