Conditional Use of New REXML Output Logic.
Thanks to Sam Ruby for pointing out the problem.
This commit is contained in:
parent
6cd8d8d2ef
commit
5d52cf303f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue