From 91f5be6f02bb6c3cd0ba26ff62acb603a33e741f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 22 Aug 2007 23:56:23 +0100 Subject: version bump to 0.57, minor addition to markup (a header to heading shortcut) and sisurc.yml update for additional search form option (hyperestraier) * markup addition, headings, shortcut for top level title (and author) :A~ @title @author (also available for level 2 (or 3) author) [version bump] * param markup identifier (and identifier) updated to identify markup addition in 0.57, :A~ @title * html search form in navigation band/banner and promo, adjustments, hyperestraier option offered in promo, requires change in sisurc.yml * sisurc.yml requires changes to make use search form options, [version bump] sample updated and commented out --- lib/sisu/v0/param_identify_markup.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/sisu/v0/param_identify_markup.rb') 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 -- cgit v1.2.3