[Mapbender-commits] r7932 - branches/2.7/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 13 05:20:56 EDT 2011


Author: kmq
Date: 2011-07-13 02:20:56 -0700 (Wed, 13 Jul 2011)
New Revision: 7932

Modified:
   branches/2.7/http/classes/class_element.php
Log:
merging in r7930 from trunk

Modified: branches/2.7/http/classes/class_element.php
===================================================================
--- branches/2.7/http/classes/class_element.php	2011-07-13 08:25:27 UTC (rev 7931)
+++ branches/2.7/http/classes/class_element.php	2011-07-13 09:20:56 UTC (rev 7932)
@@ -305,6 +305,12 @@
 		}
 		if ($this->closeTag != "") {
 			return "</" . $this->closeTag . ">";
+		} else {
+			if(in_array($this->element, array( "area", "base","br","col","hr","img","input","link","meta","param"))){
+				return  "";
+			}else{
+				return "</". $this->element . ">";
+			}
 		}
 		return "";
 	}



More information about the Mapbender_commits mailing list