diff options
| -rw-r--r-- | lib/sisu/v2/urls.rb | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/lib/sisu/v2/urls.rb b/lib/sisu/v2/urls.rb index 56b93a78..1011eda4 100644 --- a/lib/sisu/v2/urls.rb +++ b/lib/sisu/v2/urls.rb @@ -114,6 +114,7 @@ module SiSU_urls          'P (Ruby profiler)'=>'profile',          's (sisu markup)'=>source,          'S (sisupod)'=>@fn[:sisupod], +        't (Plain-text (endnotes))'=>@fn[:plain],          'x (XML sax type)'=>@fn[:sax],          'X (XML dom type)'=>@fn[:dom],          'y (Manifest, html)'=>@fn[:manifest], @@ -129,8 +130,8 @@ module SiSU_urls        end      end      def urls_maintenance(opt,x,y) -      if x=~/^([abcehHmNopwxXy])/ \ -      and opt.cmd =~/[abcehHmNopwxXy]/ \ +      if x=~/^([abcehHmNoptwxXy])/ \ +      and opt.cmd =~/[abcehHmNoptwxXy]/ \        and x=~/^[#{opt.cmd}]/ \        and opt.cmd =~/M/          m=$1 @@ -191,8 +192,8 @@ module SiSU_urls          @u.each do |x,y|            if @opt.fns =~ @m_regular              if @opt.cmd =~/[MVv]/ -              if x=~/^([abchHNopwxXyY])/ \ -              and @opt.cmd=~/[abchHNopwxXyY]/ \ +              if x=~/^([abchHNoptwxXyY])/ \ +              and @opt.cmd=~/[abchHNoptwxXyY]/ \                and x=~/^[#{@opt.cmd}]/                  m=$1                  SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#{@prog.web_browser} #{@env.url.output_tell}/#{@fnb}/#{y}").result | 
