Commit 43b35887 authored by Sylvester Keil's avatar Sylvester Keil

Merge pull request #124 from elotroalex/master

added base_url and stripped trailing whitespaces from -r value
parents a5124250 a09dbbb0
......@@ -4,3 +4,4 @@ demo
.bundle
coverage
.ruby-version
.DS_Store
......@@ -575,7 +575,7 @@ module Jekyll
end
def link_target_for key
"#{relative}##{[prefix, key].compact.join('-')}"
"#{base_url}#{relative.to_s.strip}##{[prefix, key].compact.join('-')}"
end
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