Parcourir la source

Don't drop empty tags

Nathaniel van Diepen il y a 6 ans
Parent
commit
cbdda031a2
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Data/template.class.php

+ 2 - 1
Data/template.class.php

@@ -27,7 +27,8 @@
 			'merge-divs'=>false,
 			'merge-spans'=>false,
 			'logical-emphasis'=>false,
-			'literal-attributes'=>true
+			'literal-attributes'=>true,
+			'drop-empty-elements'=>false
 		];
 		private static $regex = [
 			'getmatch'=>'/\{!([^#\/?_][^}\n]*?)\}/i',