aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/urls.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-07-07 20:09:04 -0400
committerRalph Amissah <ralph@amissah.com>2010-07-07 20:09:04 -0400
commit5a900258ae239b545d6c33e4643858a316f3c59b (patch)
tree044fdd13d3b9d16b6952a2aa3c98c3a80a9bb4df /lib/sisu/v2/urls.rb
parentRenaming debian manpages to match name of the meta packages. (diff)
parentsome cleaning of default outputs, ongoing (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v2/urls.rb')
-rw-r--r--lib/sisu/v2/urls.rb9
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