[Hiki-cvs 1506] [1053] use Hiki::Util#h instead of CGI.escapeHTML

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 9月 6日 (日) 17:38:45 JST


Revision: 1053
          http://sourceforge.jp/projects/hiki/svn/view?view=rev&revision=1053
Author:   okkez
Date:     2009-09-06 17:38:45 +0900 (Sun, 06 Sep 2009)

Log Message:
-----------
use Hiki::Util#h instead of CGI.escapeHTML

Modified Paths:
--------------
    hiki/branches/rack/plugin/50word_filter.rb

Modified: hiki/branches/rack/plugin/50word_filter.rb
===================================================================
--- hiki/branches/rack/plugin/50word_filter.rb	2009-09-06 08:38:39 UTC (rev 1052)
+++ hiki/branches/rack/plugin/50word_filter.rb	2009-09-06 08:38:45 UTC (rev 1053)
@@ -20,7 +20,7 @@
 <input type='checkbox' name='#{key_use}' id='#{key_use}' #{@conf[key_use] ? "checked='checked'" : ""}>
 <label for='#{key_use}'>#{m.use}</label>
 <p>#{m.regexp_by_line}</p>
-<textarea name='#{key_words}' col='80' row='40'>#{CGI.escapeHTML(@conf[key_words])}</textarea>
+<textarea name='#{key_words}' col='80' row='40'>#{h(@conf[key_words])}</textarea>
 </ul>
 EOT
 end




Hiki-cvs メーリングリストの案内
Back to archive index