Minor Cleanups
Remove a no-longer-needed function. ' -> &39; Fix regexp for tag chunk.
This commit is contained in:
parent
f6508de6dd
commit
ca1e8de89c
6 changed files with 6 additions and 14 deletions
|
@ -78,14 +78,6 @@ module Chunk
|
|||
@content.delete_chunk(self)
|
||||
end
|
||||
|
||||
def html_escape(string)
|
||||
string.gsub( /&/, "&" ).
|
||||
gsub( /</, "<" ).
|
||||
gsub( />/, ">" ).
|
||||
gsub( /'/, "'" ).
|
||||
gsub( /"/, """ )
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue