mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-09 22:25:06 -05:00
convert input to string before xml escaping
This commit is contained in:
@@ -83,7 +83,7 @@ module Jekyll
|
||||
#
|
||||
# Returns the escaped String.
|
||||
def xml_escape(input)
|
||||
CGI.escapeHTML(input)
|
||||
CGI.escapeHTML(input.to_s)
|
||||
end
|
||||
|
||||
# CGI escape a string for use in a URL. Replaces any special characters
|
||||
|
||||
Reference in New Issue
Block a user