diff --git a/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb b/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb index ef0349d9..d2dd9f74 100644 --- a/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb +++ b/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb @@ -1,5 +1,13 @@ # This module groups all functions related to HTML export. module MaRuKu + +begin + require 'rexml/formatters/pretty' + require 'rexml/formatters/default' + $rexml_new_version = true +rescue LoadError + $rexml_new_version = false +end class MDDocument