Opened 15 years ago

Closed 15 years ago

#1137 closed enhancement (invalid)

decode xml string before rendering attribute in www\fusion\widgets\SelectionPanel.js

Reported by: poulet1212 Owned by:
Priority: low Milestone:
Component: Fusion Version: 2.0.2
Severity: minor Keywords:
Cc: External ID:

Description

SelectionPanel.js: in the renderFeature function, at line 403, the instruction:

td.innerHTML = layerObj.getElementValue(featureIdx, i);

outputs the requested attribute values for a selection.

If a value contains html tags such as links, it won't be rendered as html but as simple text because the html tags are not decoded from the xml string. for example a "&lt;" should be decoded as "<" before it is passed to innerHTML.

Change History (3)

comment:1 by tomfukushima, 15 years ago

Note, that this file is in the Fusion SVN. Can you create a Fusion ticket, and add a note in this ticket that references the Fusion ticket?

comment:2 by poulet1212, 15 years ago

New ticket opened in Fusion project:

http://trac.osgeo.org/fusion/ticket/312

comment:3 by jbirch, 15 years ago

Resolution: invalid
Status: newclosed

Closing in preference to the Fusion ticket.

Note: See TracTickets for help on using tickets.