Commit a09dbbb0 authored by Alex Gil's avatar Alex Gil

added to_s method to ensure string data type

parent 8bdd30c2
...@@ -4,3 +4,4 @@ demo ...@@ -4,3 +4,4 @@ demo
.bundle .bundle
coverage coverage
.ruby-version .ruby-version
.DS_Store
...@@ -575,7 +575,7 @@ module Jekyll ...@@ -575,7 +575,7 @@ module Jekyll
end end
def link_target_for key def link_target_for key
"#{base_url}#{relative}##{[prefix, key].compact.join('-')}" "#{base_url}#{relative.to_s.strip}##{[prefix, key].compact.join('-')}"
end end
def cite(keys) def cite(keys)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment