aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/html_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-05-15 00:24:10 -0400
committerRalph Amissah <ralph@amissah.com>2015-05-15 00:24:10 -0400
commit0ca455e2ceb3e72e481973f93278687b2b7b3c5c (patch)
treec226b806baec0b39a8b3b4531016478270e3a5e4 /lib/sisu/html_format.rb
parentdebian/changelog (7.0.0-1) (diff)
parentversion & changelog, tag for release (diff)
Merge tag 'sisu_7.1.0' into debian/sid
SiSU 7.1.0
Diffstat (limited to 'lib/sisu/html_format.rb')
-rw-r--r--lib/sisu/html_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/html_format.rb b/lib/sisu/html_format.rb
index b5726626..54edac82 100644
--- a/lib/sisu/html_format.rb
+++ b/lib/sisu/html_format.rb
@@ -883,7 +883,7 @@ WOK
tags=''
if defined? dob.tags \
and dob.tags.length > 0 # insert tags "hypertargets"
- dob.tags.each do |t|
+ dob.tags.compact.each do |t| # .compact hides a problem, nil should not occur fix (upstream)
t=t.gsub(/[^a-z0-9._-]/,'') #use for all html tags? consider limiting to strict? or implementing earlier
tags=(t =~/^[0-9.]+$/) \
? tags #check what can be sorted in ao