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 "<" should be decoded as "<" before it is passed to innerHTML.
Change History (3)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing in preference to the Fusion ticket.
Note:
See TracTickets
for help on using tickets.
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?