module RailsConnector # Include this module in order to tag the string as one with HTML content module HtmlString include LinkResolvable # Returns whether the String contains HTML (default to true, overrides String.html?). def html? true end end end class String # Returns whether the String contains HTML (default to false). def html? false end end