Opened 16 years ago

Closed 16 years ago

#95 closed defect (fixed)

maptips: replace /n with <br>

Reported by: madair Owned by: madair
Priority: P2 Milestone: 1.0.7
Component: Widgets Version: 1.0.6
Severity: Minor Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

there is an error in the MapTip regex replacement for /n

Change History (4)

comment:1 by madair, 16 years ago

Resolution: fixed
Status: newclosed

(In [1447]) closes #95: modify regex for replacement

comment:2 by madair, 16 years ago

(In [1448]) re #95: patch applied to 1.0 branch

comment:3 by madair, 16 years ago

Resolution: fixed
Status: closedreopened

in some cases, the response from MG queryMapFeatures contains an actual line feed char (0x0A) and in other cases it's a \ char followed by the 'n' char. We need to modify XML2Json.php to do the replacement of 0x0A and then Maptip widget can replace the text version of /n

comment:4 by madair, 16 years ago

Resolution: fixed
Status: reopenedclosed

(In [1457]) closes #95: replace \n in XML responses

Note: See TracTickets for help on using tickets.