aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/dal_idx.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v4/dal_idx.rb')
-rw-r--r--lib/sisu/v4/dal_idx.rb11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/sisu/v4/dal_idx.rb b/lib/sisu/v4/dal_idx.rb
index 63eb487e..a1d66402 100644
--- a/lib/sisu/v4/dal_idx.rb
+++ b/lib/sisu/v4/dal_idx.rb
@@ -161,12 +161,7 @@ module SiSU_DAL_BookIndex
the_idx
end
def clean_xml(str)
- str=str.gsub(/&/,'&').
- gsub(/\(/,'(').
- gsub(/\)/,')').
- gsub(/\*/,'*').
- gsub(/\+/,'+').
- gsub(/,/,',')
+ str=str.gsub(/&/,'&')
str
end
def index(the_idx)
@@ -193,8 +188,8 @@ module SiSU_DAL_BookIndex
idx[:html] << ''
idx[:xhtml] << ''
else
- idx[:html] << %{<a href="##{x}">#{x}</a>,&nbsp;}
- idx[:xhtml] << %{<a href="##{x.downcase}">#{x}</a>,&nbsp;}
+ idx[:html] << %{<a href="##{x}">#{x}</a>,#{$ep[:hsp]}}
+ idx[:xhtml] << %{<a href="##{x.downcase}">#{x}</a>,#{$ep[:hsp]}}
end
end
idx[:html] << '</p>'