changeset 346:9b7e28e8e9ee misc

Fix html entities mangling.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 10 Aug 2016 00:31:52 +0300
parents 4dce0dd371a5
children edb230cce919
files magestats.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/magestats.pl	Wed Aug 10 00:21:08 2016 +0300
+++ b/magestats.pl	Wed Aug 10 00:31:52 2016 +0300
@@ -164,9 +164,9 @@
 
 ### Convert special characters to HTML/XML entities
 my %entities = (
+  "&" => "amp",
   "<" => "lt",
   ">" => "gt",
-  "&" => "amp",
 );
 
 sub htmlentities($)