html tags / markup not parsed

2139
4
07-01-2016 01:49 AM
NatashaManzuiga
Occasional Contributor

Hi all, in my popup if I put html tags, they are not parsed...why?

How can I forse the popup to parse html tags?

Thanks,

Naty

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Naty,

  Where are you adding this html markup? Are you talking about in the webmap when you configure the popup for a specific layer?

0 Kudos
NatashaManzuiga
Occasional Contributor

Robert, I'm talking about the popup content...
I didnt configure the popup.

I have a field value formatted with new line but it seems like they are not interpreted..

In the following sample I tried to add markup in the object inspector of Firefox...

Thanks,

Naty

Capture.PNG
Capture2.PNG

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Naty,

  I am still not understanding where in the WABs different js file you are adding this.

Next observation is why do you have <BLD is this intentional or are you missing a >

Have you tried other new line characters like \n?

0 Kudos
NatashaManzuiga
Occasional Contributor

Robert,

it is just the render of a field value..

The field value is like this:

first row
second row

And the pop up show me the value like this, in the same line:

first row second row

About your second observation...I was just trying to test if some markup works...

Yes, I tried other new line characters like \n

Thanks,

Naty

0 Kudos