[fusion-commits] r2477 - trunk/widgets/Redline

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Dec 2 00:21:08 EST 2011


Author: liuar
Date: 2011-12-01 21:21:08 -0800 (Thu, 01 Dec 2011)
New Revision: 2477

Modified:
   trunk/widgets/Redline/editmarkup.php
Log:
re: #496

Modified: trunk/widgets/Redline/editmarkup.php
===================================================================
--- trunk/widgets/Redline/editmarkup.php	2011-12-02 05:17:12 UTC (rev 2476)
+++ trunk/widgets/Redline/editmarkup.php	2011-12-02 05:21:08 UTC (rev 2477)
@@ -367,7 +367,7 @@
 					$selected = 'selected';
 					foreach($markupFeatures as $markupId => $markupText) {
 				?>
-				<option value="<?= $markupId ?>" <?=$selected ?> ><?= (strlen($markupText) > 0) ? $markupText : '[no text]' ?></option> 
+				<option value="<?= $markupId ?>" <?=$selected ?> ><?= (strlen($markupText) > 0) ? htmlentities($markupText) : '[no text]' ?></option> 
 				<?php
 						$selected = ''; 
 					} 



More information about the fusion-commits mailing list