Fix counter front-end
This commit is contained in:
parent
37309a452d
commit
0a0298aaad
|
@ -28,7 +28,7 @@ module ParserFrontEnd
|
|||
ret << eval("\"#{front['path']}\"") rescue ''
|
||||
fragment = Nokogiri::HTML::DocumentFragment.new(body, "<div class='dymanic_load widget' path='#{ret}'></div>")
|
||||
else
|
||||
fragment = Nokogiri::HTML::DocumentFragment.new(body, eval("#{front['value']}").to_s)
|
||||
fragment = Nokogiri::HTML::DocumentFragment.new(body, "<div id='#{front['id']}' class='#{front['class']}'>eval('#{front['value']}'').to_s</div>" )
|
||||
end
|
||||
front.swap(fragment)
|
||||
end
|
||||
|
|
Reference in New Issue