Striped whitespace from titles in blockquote plugin

This commit is contained in:
Brandon Mathis 2013-01-12 16:36:15 -06:00
parent d686105bda
commit cd6926e41b

View File

@ -31,13 +31,13 @@ module Jekyll
if markup =~ FullCiteWithTitle if markup =~ FullCiteWithTitle
@by = $1 @by = $1
@source = $2 + $3 @source = $2 + $3
@title = $4.titlecase @title = $4.titlecase.strip
elsif markup =~ FullCite elsif markup =~ FullCite
@by = $1 @by = $1
@source = $2 + $3 @source = $2 + $3
elsif markup =~ AuthorTitle elsif markup =~ AuthorTitle
@by = $1 @by = $1
@title = $2.titlecase @title = $2.titlecase.strip
elsif markup =~ Author elsif markup =~ Author
@by = $1 @by = $1
end end