Conditional Use of New REXML Output Logic.

Thanks to Sam Ruby for pointing out the problem.
This commit is contained in:
Jacques Distler 2007-12-28 19:58:22 -06:00
parent 6cd8d8d2ef
commit 5d52cf303f

View file

@ -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