]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Sugesstion usgin decode_utf8 instead of escaping them
authormathdesc <mathdesc@web>
Sat, 18 Aug 2012 14:21:54 +0000 (10:21 -0400)
committeradmin <admin@branchable.com>
Sat, 18 Aug 2012 14:21:54 +0000 (10:21 -0400)
doc/plugins/headinganchors/discussion.mdwn

index 151af8d92b31b827836b4d12a7063ca440654162..eaf111f4ee1162a49ed4f1b4de4d4135d51ae9ce 100644 (file)
@@ -31,3 +31,19 @@ A patch to make it more like MediaWiki:
  </pre>
 
 --Changaco
+
+----
+
+I think using this below would let the source html clear for the browser
+without changing the render:
+
+        #use URI::Escape
+        .
+        .
+
+        #$str = uri_escape_utf8($str);
+        $str = Encode::decode_utf8($str);
+        #$str =~ s/%/./g;
+
+Don't you think ?
+[[mathdesc]]