diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-05-12 19:30:03 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-05-12 19:30:03 -0400 |
commit | 5774f08063724011fc90eaa7627e6f8660bc690e (patch) | |
tree | e8f7be4187ab6ee99d34f9863777b22e02d90e51 /lib/sisu/v3/sst_identify_markup.rb | |
parent | debian/changelog (3.2.7-1) (diff) | |
parent | v3: sisupod make, re-fixed, check again (diff) |
Merge tag 'sisu_3.2.8' into debian/sid
Diffstat (limited to 'lib/sisu/v3/sst_identify_markup.rb')
-rw-r--r-- | lib/sisu/v3/sst_identify_markup.rb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/sisu/v3/sst_identify_markup.rb b/lib/sisu/v3/sst_identify_markup.rb index af30f19b..857ed3d7 100644 --- a/lib/sisu/v3/sst_identify_markup.rb +++ b/lib/sisu/v3/sst_identify_markup.rb @@ -255,6 +255,14 @@ WOK def initialize(opt) @opt=opt end + def sisu_3_0 + <<WOK + SiSU 3.0 same as 2.0, apart from change to headers + + see document markup samples, and sisu --help headers + +WOK + end def sisu_2_0 <<WOK SiSU 2.0 same as 1.0, apart from the changing of headers and the addition of a monospace tag @@ -427,7 +435,9 @@ WOK tell=if @opt.mod.inspect =~/--query/ tell=case @opt.mod.inspect when /history/ - "#{sisu_2_0}#{sisu_1_0}#{sisu_0_69}#{sisu_0_66}#{sisu_0_57}#{sisu_0_42}#{sisu_0_38}\n#{sisu_0_37}\n#{sisu_0_16}\n#{sisu_0_1}" + "#{sisu_3_0}#{sisu_2_0}#{sisu_1_0}#{sisu_0_69}#{sisu_0_66}#{sisu_0_57}#{sisu_0_42}#{sisu_0_38}\n#{sisu_0_37}\n#{sisu_0_16}\n#{sisu_0_1}" + when /3.0/ + "#{sisu_3_0}#{sisu_2_0}#{sisu_1_0}#{sisu_0_69}#{sisu_0_66}#{sisu_0_57}#{sisu_0_42}#{sisu_0_38}#{sisu_0_16}" when /2.0/ "#{sisu_2_0}#{sisu_1_0}#{sisu_0_69}#{sisu_0_66}#{sisu_0_57}#{sisu_0_42}#{sisu_0_38}#{sisu_0_16}" when /1.0/ |