search for: link_html

Displaying 1 result from an estimated 1 matches for "link_html".

2006 Apr 10
2
X-HTMLifying Code
...lized tag names and unclosed tags like IMG. They also include ampersands as query-string separators, which also offends the W3C Validator. Has anyone written a snippet to parse links and image tags to make them XHTML Transitional safe? This works in some but not all cases: @affiliates.each{|a| a.link_html = a.link_html.gsub(''&'', '';'').downcase} # not sure about the ; bit TIA -- View this message in context: http://www.nabble.com/X-HTMLifying-Code-t1422594.html#a3835017 Sent from the RubyOnRails Users forum at Nabble.com.