[mapguide-trac] #1137: decode xml string before rendering attribute
in www\fusion\widgets\SelectionPanel.js
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Nov 3 07:41:55 EST 2009
#1137: decode xml string before rendering attribute in
www\fusion\widgets\SelectionPanel.js
---------------------------+------------------------------------------------
Reporter: poulet1212 | Owner:
Type: enhancement | Status: new
Priority: low | Milestone:
Component: Fusion | Version: 2.0.2
Severity: minor | Keywords:
External_id: |
---------------------------+------------------------------------------------
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.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1137>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list