entitify ampersands to prevent malformed unescaping output
This commit is contained in:
parent
94c06d0100
commit
f7a40f4d6d
|
@ -14,7 +14,7 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
def xml_escape(input)
|
def xml_escape(input)
|
||||||
input.gsub("<", "<").gsub(">", ">")
|
input.gsub("&", "&").gsub("<", "<").gsub(">", ">")
|
||||||
end
|
end
|
||||||
|
|
||||||
def number_of_words(input)
|
def number_of_words(input)
|
||||||
|
@ -36,4 +36,4 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue