diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-07-30 09:07:16 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-07-30 09:07:16 +0100 |
commit | 30144be628ce04818c75e9ce9e389fa93e707dd8 (patch) | |
tree | 774cefff14665adf821cbaf8c67bef858bb94738 /lib/sisu/v0/dal_doc_str_code.rb | |
parent | Updated sisu-0.55.6 (diff) | |
parent | url matching, semi-colon as possible terminator, in dal match https (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/dal_doc_str_code.rb')
-rw-r--r-- | lib/sisu/v0/dal_doc_str_code.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/dal_doc_str_code.rb b/lib/sisu/v0/dal_doc_str_code.rb index e6a3ae1e..18ac03d8 100644 --- a/lib/sisu/v0/dal_doc_str_code.rb +++ b/lib/sisu/v0/dal_doc_str_code.rb @@ -147,7 +147,7 @@ module SiSU_document_structure_code if line =~/\S/ and line !~/^(?:alt|code|group|poem)\{|^\}(?:alt|code|group|poem)|<:(?:code|verse|alt|group).+/ line.gsub!(/\s\s/,' ') line.gsub!(/^/,'<:codeline>') if type=='code' # try sort for texpdf special case - if line =~/http:\/\/\S+$/ + if line =~/https?:\/\/\S+$/ line.gsub!(/$/,' <:br>') else line.gsub!(/$/,'<:br>') #unless type=='code' |