aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/param.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-09-19 19:03:07 -0400
committerRalph Amissah <ralph@amissah.com>2008-09-19 19:03:07 -0400
commit452f2c20ea361d68e7533f2bd45a6d5b215ed700 (patch)
tree6f61a9d094deee12c1251dd39eb809fb5f7f7fcf /lib/sisu/v0/param.rb
parentsha256 for 0.69.1 (diff)
sample sisu markup "Free as in Freedom": book index markers included, and; identify markup helpers updated
* sample sisu markup "Free as in Freedom": book index markers included * identify markup helpers updated
Diffstat (limited to 'lib/sisu/v0/param.rb')
-rw-r--r--lib/sisu/v0/param.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v0/param.rb b/lib/sisu/v0/param.rb
index 7994487d..02d20ed7 100644
--- a/lib/sisu/v0/param.rb
+++ b/lib/sisu/v0/param.rb
@@ -217,7 +217,6 @@ module SiSU_Param
fns_array=@data.dup
skip unless fns_array # consider
@markup_version=SiSU_Markup_type::Markup_identify.new(fns_array,@opt).markup_version? #% determine markup version
- if @markup_version >= 0.65 then @sem_tag=true end
if fns_array[0] =~ /^(?:% )?(?:SiSU\s+(?:master\s+)?[\d.]*|sisu-[\d.]+)$/ #check markup and markup version
if fns_array[0] =~ /^(?:% )?(?:SiSU\s+(?:master\s+)?|sisu-)[\d.]+$/ #check markup and markup version
@markup_version_declared=fns_array[0].match(/^(?:% )?(?:SiSU\s+(?:master\s+)?|sisu-)([\d.]+)$/)[1]
@@ -644,6 +643,9 @@ module SiSU_Param
end
@ec[:audio] << para.scan(@rgx_audio).uniq if para =~@rgx_audio #embedded content
@ec[:multimedia] << para.scan(@rgx_mm).uniq if para =~@rgx_mm #embedded content
+ unless @sem_tag
+ @sem_tag=true if para=~/[:;]\{.+?\}[:;][a-z+]/ #refix later
+ end
end #% here endeth the document loop
if @ec[:image].length > 0
@ec[:image].flatten!