aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/param_identify_markup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v0/param_identify_markup.rb')
-rw-r--r--lib/sisu/v0/param_identify_markup.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/sisu/v0/param_identify_markup.rb b/lib/sisu/v0/param_identify_markup.rb
index 21e796e8..93c8bf79 100644
--- a/lib/sisu/v0/param_identify_markup.rb
+++ b/lib/sisu/v0/param_identify_markup.rb
@@ -71,8 +71,13 @@ module SiSU_Markup
elsif @cont[0] =~ /^(?:%\s+)?SiSU\s+([0-9](?:\.[0-9]+){1,2})/ or @cont[0] =~ /^(?:%\s+)?sisu-([0-9](?:\.[0-9]+){1,2})/
@version_declared=$1
end
- @flag_38=false
+ @flag_57,@flag_38=false,false
@cont.each_with_index do |y,i|
+ if @flag_57 or y =~/^:?A~\?? @title/
+ @version_determined=0.57
+ @flag_57=true
+ break
+ end
if @flag_38 or y =~/^:?A~/
@version_determined=0.38
@flag_38=true