Skip to content

Commit 63bc8dc

Browse files
committed
added to_s
1 parent 6725d33 commit 63bc8dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jekyll-theme-cs50.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def relative_url(input)
517517
next if head.nil?
518518
meta = Nokogiri::XML::Node.new("meta", doc)
519519
meta["property"] = "og:description"
520-
meta["content"] = CGI.escapeHTML(description)
520+
meta["content"] = CGI.escapeHTML(description.to_s)
521521
head.add_child(meta)
522522

523523
# Update HTML

0 commit comments

Comments
 (0)