class Attio::Note
def strip_html(html)
def strip_html(html) return html unless html.is_a?(String) # Basic HTML stripping (production apps should use a proper HTML parser) html.gsub(/<[^>]+>/, " ") .gsub(/\s+/, " ") .strip end
def strip_html(html) return html unless html.is_a?(String) # Basic HTML stripping (production apps should use a proper HTML parser) html.gsub(/<[^>]+>/, " ") .gsub(/\s+/, " ") .strip end