changeset 111:e09c791b2a48

urllog: Improve entity handling.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 Sep 2011 21:20:08 +0300
parents 4aa1e1d545ed
children fae3dd7a8b20
files urllog.tcl
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/urllog.tcl	Mon Sep 19 21:19:50 2011 +0300
+++ b/urllog.tcl	Mon Sep 19 21:20:08 2011 +0300
@@ -141,7 +141,10 @@
 set urllog_httprep [split "\@|%40|{|%7B|}|%7D|\[|%5B|\]|%5D" "|"] 
 
 
-set urllog_ent_str "&#39;|'|—|-|&rlm;||&#8212;|-|&#x202a;||&#x202c;||&lrm;||&aring;|å|&Aring;|Å|&eacute;|é|&#58;|:|&nbsp;| |&#8221;|\"|&#8220;|\"|&raquo;|>>|&quot;|\"|&auml;|ä|&ouml;|ö|&Auml;|Ä|&Ouml;|Ö|&amp;|&|&lt;|<|&gt;|>"
+set    urllog_ent_str "&#45;|-|&#39;|'|—|-|&rlm;||&#8212;|-|&#8211;|--|&#x202a;||&#x202c;||"
+append urllog_ent_str "&lrm;||&aring;|å|&Aring;|Å|&eacute;|é|&#58;|:|&nbsp;| |"
+append urllog_ent_str "&#8221;|\"|&#8220;|\"|&laquo;|<<|&raquo;|>>|&quot;|\"|"
+append urllog_ent_str "&auml;|ä|&ouml;|ö|&Auml;|Ä|&Ouml;|Ö|&amp;|&|&lt;|<|&gt;|>"
 set urllog_html_ent [split [encoding convertfrom "utf-8" $urllog_ent_str] "|"]
 
 ### Require packages