diff options
| author | Ralph Amissah <ralph@amissah.com> | 2010-04-23 20:10:55 -0400 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2010-04-23 20:11:00 -0400 | 
| commit | 4cff73e6c4fddbbea1aa23d850bccf6c5341b9bd (patch) | |
| tree | 442157e6cc7c810bfcba8906ff62f095ad4fd5da /lib | |
| parent | defaults, for default home search form, always point to latest db version (diff) | |
sisupod_make, take new markup into account, done for :skin:
* not perfect, improve  upon, should probably match @make: then :skin:
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sisu/v2/sisupod_make.rb | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/lib/sisu/v2/sisupod_make.rb b/lib/sisu/v2/sisupod_make.rb index 50d55a38..0b4b56d8 100644 --- a/lib/sisu/v2/sisupod_make.rb +++ b/lib/sisu/v2/sisupod_make.rb @@ -161,11 +161,11 @@ module SiSU_Doc      def sisupod_build                                                         #see also sisupod in sysenv        @rgx_rb_image=/["'](\S+?\.(?:png|jpg|gif))["']/        @rgx_image=/(?:^|[^_\\])\{\s*(\S+?\.(?:png|jpg|gif))/ -      @rgx_skin=/^@skin:\s+(\S+)/ +      @rgx_skin=/^\s+:skin:\s+(\S+)/        @rgx_doc_import=/^%\s\s*\|(\S+?\.ss[ti])\|@\|\^\|>>ok/ -      use_file=if @opt.fns =~/(?:\.ssm|\.ssm\.sst)$/; "#{@env.path.composite_file}/#{@opt.fnb}.ssm.sst" -      else @opt.fns -      end +      use_file=@opt.fns =~/(?:\.ssm|\.ssm\.sst)$/ \ +      ? "#{@env.path.composite_file}/#{@opt.fnb}.ssm.sst" \ +      : @opt.fns        file_array=IO.readlines(use_file,'')        skin,images,doc_import=[],[],[]        file_array.each do |f|                                                  #% work area | 
