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.
|
# This module groups all functions related to HTML export.
|
||||||
module MaRuKu
|
module MaRuKu
|
||||||
|
|
||||||
|
begin
|
||||||
|
require 'rexml/formatters/pretty'
|
||||||
|
require 'rexml/formatters/default'
|
||||||
|
$rexml_new_version = true
|
||||||
|
rescue LoadError
|
||||||
|
$rexml_new_version = false
|
||||||
|
end
|
||||||
|
|
||||||
class MDDocument
|
class MDDocument
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue