public
Description: My blog engine
Homepage: http://nex-3.com
Clone URL: git://github.com/nex3/nex3-s-blog-engine.git
Fixing a codecloth bug that screwed with ampersands.
nex3 (author)
Wed Sep 19 19:21:48 -0700 2007
commit  8e1600abe2fbada50dbbfbd3b853bfca6ec9de81
tree    2dabd2e6d3962f1290d7d80eb6feb96fbaf5d2d2
parent  d505f3f24543387e1065323df703fd0a5329c712
...
63
64
65
66
 
67
68
69
...
63
64
65
 
66
67
68
69
0
@@ -63,7 +63,7 @@ module CodeCloth
0
 
0
   def syntaxify(text, scanner)
0
     text.gsub!(SYNTAXLESS_CODE_RE) do
0
- escape_pre scanner.new(CGI::unescapeHTML($1)).tokenize.html(HTML_OPTIONS)
0
+ escape_pre scanner.new(CGI::unescapeHTML($1)).tokenize.html(HTML_OPTIONS).gsub('&', '&')
0
     end
0
     text
0
   end

Comments

    No one has commented yet.