diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-09-23 05:16:53 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-09-23 05:16:53 +0100 |
commit | bcd7f88ba20b1dbc956522d90fca4f1982dddcef (patch) | |
tree | fea6227b42001b2949635b36daaf30da864e53ce /lib/sisu/v0/sst_do_inline_footnotes.rb | |
parent | Merge branch 'upstream' into debian/sid (diff) | |
parent | primarily todo with sisu documentation, changelog reproduced below: (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/sst_do_inline_footnotes.rb')
-rw-r--r-- | lib/sisu/v0/sst_do_inline_footnotes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/sst_do_inline_footnotes.rb b/lib/sisu/v0/sst_do_inline_footnotes.rb index 3a6282c4..0bbaa131 100644 --- a/lib/sisu/v0/sst_do_inline_footnotes.rb +++ b/lib/sisu/v0/sst_do_inline_footnotes.rb @@ -461,7 +461,7 @@ module SiSU_Convert_footnotes s=s.gsub(/<del>(.+?)<\/del>/,'DELETED(\1)') # deletions s=s.gsub(/<sup>(\d+)<\/sup>/,'[\1]') s=s.gsub(/(?: \\;)+/,' ') - s=s.gsub(/\{.+?\.(?:png|jpg|gif).+?\}(?:https?|ftp)\\\:\S+ /,' [image] ') # else image names found in search + s=s.gsub(/\{.+?\.(?:png|jpg|gif).+?\}(?:https?|file|ftp)\\\:\S+ /,' [image] ') # else image names found in search s=s.gsub(/\s\s+/,' ') s=s.strip end |