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.
|
||||
module MaRuKu
|
||||
|
||||
begin
|
||||
require 'rexml/formatters/pretty'
|
||||
require 'rexml/formatters/default'
|
||||
$rexml_new_version = true
|
||||
rescue LoadError
|
||||
$rexml_new_version = false
|
||||
end
|
||||
|
||||
class MDDocument
|
||||
|
||||
def s5_theme
|
||||
|
|
Loading…
Reference in a new issue