Fixed typos.
This commit is contained in:
parent
0fca16a62d
commit
6aac51b633
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ class ImportOtrsController < ApplicationController
|
|||
suffixes = ['/public.pl', '/otrs/public.pl']
|
||||
suffixes.each {|suffix|
|
||||
url = params[:url] + suffix + '?Action=ZammadMigrator'
|
||||
# strip multible / in url
|
||||
# strip multiple / in url
|
||||
url.gsub!(%r{([^:])(/+/)}, '\\1/')
|
||||
response = UserAgent.request( url )
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ class String
|
|||
# strip all other tags
|
||||
string.gsub!( /\<.+?\>/, '' )
|
||||
|
||||
# replace multible spaces with one
|
||||
# replace multiple spaces with one
|
||||
string.gsub!(/ /, ' ')
|
||||
|
||||
# strip all & < > "
|
||||
|
@ -185,7 +185,7 @@ class String
|
|||
# remove tailing empty spaces
|
||||
string.gsub!(/\s+\n$/, "\n")
|
||||
|
||||
# remove multible empty lines
|
||||
# remove multiple empty lines
|
||||
string.gsub!(/\n\n\n/, "\n\n")
|
||||
|
||||
string.strip!
|
||||
|
|
Loading…
Reference in a new issue