aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_substitutions_and_insertions.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-04-30 23:16:28 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-01 01:40:51 -0400
commit90c65af1050b7ef8027884fe24ce23c9511468c1 (patch)
tree67d50b08c3743479c359c58e6f94399bfced2543 /lib/sisu/v2/dal_substitutions_and_insertions.rb
parenttexpdf, tell file being processed (diff)
param_identify_markup, identify version 2 markup
Diffstat (limited to 'lib/sisu/v2/dal_substitutions_and_insertions.rb')
-rw-r--r--lib/sisu/v2/dal_substitutions_and_insertions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/dal_substitutions_and_insertions.rb b/lib/sisu/v2/dal_substitutions_and_insertions.rb
index c699a17c..e1326232 100644
--- a/lib/sisu/v2/dal_substitutions_and_insertions.rb
+++ b/lib/sisu/v2/dal_substitutions_and_insertions.rb
@@ -136,7 +136,7 @@ module SiSU_substitute_and_insert
data_expand.compact!
end
data_expand.each do |para|
- para=if @md.markup_version.to_f >= 0.38
+ para=if @md.markup_version.determined >= 0.38
SiSU_document_structure_extract::Structure.new(@md,para).structure_markup_normalize
else
SiSU_document_structure_extract::Structure.new(@md,para).structure_marks