diff options
author | Ralph Amissah <ralph@amissah.com> | 2015-05-15 00:24:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2015-05-15 00:24:10 -0400 |
commit | 0ca455e2ceb3e72e481973f93278687b2b7b3c5c (patch) | |
tree | c226b806baec0b39a8b3b4531016478270e3a5e4 /lib/sisu/html_format.rb | |
parent | debian/changelog (7.0.0-1) (diff) | |
parent | version & 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.rb | 2 |
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 |