Sync with latest Maruku.
This commit is contained in:
parent
7b1c7c0da6
commit
8300133c8d
8 changed files with 68 additions and 32 deletions
3
vendor/plugins/maruku/lib/maruku/helpers.rb
vendored
3
vendor/plugins/maruku/lib/maruku/helpers.rb
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue