From 0a0298aaad95a516dfedad53b3d0d669a995715d Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 28 Dec 2012 11:44:33 +0800 Subject: [PATCH] Fix counter front-end --- lib/parsers/parser_front_end.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/parsers/parser_front_end.rb b/lib/parsers/parser_front_end.rb index 763eeba7..177143d3 100644 --- a/lib/parsers/parser_front_end.rb +++ b/lib/parsers/parser_front_end.rb @@ -28,7 +28,7 @@ module ParserFrontEnd ret << eval("\"#{front['path']}\"") rescue '' fragment = Nokogiri::HTML::DocumentFragment.new(body, "
") else - fragment = Nokogiri::HTML::DocumentFragment.new(body, eval("#{front['value']}").to_s) + fragment = Nokogiri::HTML::DocumentFragment.new(body, "
eval('#{front['value']}'').to_s
" ) end front.swap(fragment) end