Sync with latest Maruku.

This commit is contained in:
Jacques Distler 2007-03-07 12:49:06 -06:00
parent 7b1c7c0da6
commit 8300133c8d
8 changed files with 68 additions and 32 deletions

View file

@ -91,9 +91,8 @@ module Helpers
raw_html = "<marukuwrap>#{raw_html}</marukuwrap>"
e.instance_variable_set :@parsed_html,
REXML::Document.new(raw_html)
rescue
rescue #Exception => ex
e.instance_variable_set :@parsed_html, nil
# tell_user "Malformed block of HTML:\n"+
# add_tabs(raw_html,1,'|')
# " #{raw_html.inspect}\n\n"+ex.inspect