# File lib/maruku/output/to_html.rb, line 740 def to_html_raw_html return [] if get_setting(:filter_html) return parsed_html.to_html if parsed_html # If there's no parsed HTML raw_html = self.raw_html # Creates red box with offending HTML tell_user "Wrapping bad html in a PRE with class 'markdown-html-error'\n" + raw_html.gsub(/^/, '|') pre = xelem('pre') pre['style'] = 'border: solid 3px red; background-color: pink' pre['class'] = 'markdown-html-error' pre << xtext("Maruku could not parse this XML/HTML: \n#{raw_html}") end