def Utils.get_string_html_info(text, opts={})
debug "getting string html info"
txt = text.dup
title = txt.ircify_html_title
debug opts
if frag = opts[:uri_fragment] and not frag.empty?
fragreg = /<a\s+(?:[^>]+\s+)?(?:name|id)=["']?#{frag}["']?[^>]*>/im
debug fragreg
debug txt
if txt.match(fragreg)
txt = $'
end
debug txt
end
c_opts = opts.dup
c_opts[:strip] ||= title
content = Utils.ircify_first_html_par(txt, c_opts)
content = nil if content.empty?
return {:title => title, :content => content}
end