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,6 +1,14 @@
|
||||||
# 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
|
||||||
|
|
||||||
def s5_theme
|
def s5_theme
|
||||||
|
|
Loading…
Reference in a new issue