diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-08-22 23:56:23 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-08-22 23:56:23 +0100 |
commit | 91f5be6f02bb6c3cd0ba26ff62acb603a33e741f (patch) | |
tree | 802e1a2894500aa0b7b9bf79cd94fc568d9900df /lib/sisu/v0/param_identify_markup.rb | |
parent | small fixes to manifest and html_scroll, and adjustment to html navigation ba... (diff) |
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
Diffstat (limited to 'lib/sisu/v0/param_identify_markup.rb')
-rw-r--r-- | lib/sisu/v0/param_identify_markup.rb | 7 |
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 |