diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-08-19 02:41:50 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-08-19 02:41:50 +0100 |
commit | a19b7494c87f05c895bb3cc76969ad9af0bf6c08 (patch) | |
tree | 3c7a44eb9e012e70346b7ec2ffec06aaae1b6418 /lib/sisu/v0/html_tune.rb | |
parent | sisu-0.56.2 + md5s (diff) |
sisu-0.56.3 minor update, small fixes
* manifest make file-type descriptions simpler to understand
* copyright restricted to rights tag, unless none, in which case rights tag
gets creator information
* copyright mark picked up in rights if 'Copyright (C)' is used
* tex/pdf url matching semi-colon following url
* endnote heading, apply tag to exclude numbering and segment heading where
there is no segment
* html scroll endnote text minor fix
* initialize site structure, make copy site images default (sisu -CC)
Diffstat (limited to 'lib/sisu/v0/html_tune.rb')
-rw-r--r-- | lib/sisu/v0/html_tune.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/html_tune.rb b/lib/sisu/v0/html_tune.rb index cca41056..7f91641e 100644 --- a/lib/sisu/v0/html_tune.rb +++ b/lib/sisu/v0/html_tune.rb @@ -245,8 +245,8 @@ module SiSU_Tune @words=[] data.each do |word| @words << if word=~/\{(.+?)\}((?:https?|ftp)\S+|image)/ - if word =~/\{(.+?)\}((?:https?|ftp)\S+|image)([;.,](?:\s|$))/ - m,u,d=/\{(.+?)\}((?:https?|ftp)\S+|image)([;.,](?:\s|$))/.match(word).captures + if word =~/\{(.+?)\}((?:https?|ftp)\S+|image)([;.,]?(?:\s|$))/ + m,u,d=/\{(.+?)\}((?:https?|ftp)\S+|image)([;.,]?(?:\s|$))/.match(word).captures else m,u=/\{(.+?)\}((?:https?|ftp)\S+|image)/.match(word).captures d='' end |