diff options
author | Ralph Amissah <ralph@amissah.com> | 2015-05-11 18:56:20 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2015-05-15 00:22:18 -0400 |
commit | 40b83047b2a77998354188dabca8ad352b17d45f (patch) | |
tree | c479418814229b1a0b99f9b3d7fdd5f007e4a245 /lib/sisu/html_format.rb | |
parent | ao_references, fix (diff) |
appendices: bibliography & glossary, worked on
* bibliography & glossary make activated by markup headers
1~!biblio & 1~!glossary
* bibliography tags altered
(introduced in 5.8.0 v6 project dir branch)
* version bump for change in behavior
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 |