From cd6926e41bdd9b7170518648dae551b605ffbe73 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 12 Jan 2013 16:36:15 -0600 Subject: Striped whitespace from titles in blockquote plugin --- plugins/blockquote.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/blockquote.rb b/plugins/blockquote.rb index a5efde78..ebdc0e89 100644 --- a/plugins/blockquote.rb +++ b/plugins/blockquote.rb @@ -31,13 +31,13 @@ module Jekyll if markup =~ FullCiteWithTitle @by = $1 @source = $2 + $3 - @title = $4.titlecase + @title = $4.titlecase.strip elsif markup =~ FullCite @by = $1 @source = $2 + $3 elsif markup =~ AuthorTitle @by = $1 - @title = $2.titlecase + @title = $2.titlecase.strip elsif markup =~ Author @by = $1 end -- cgit v1.2.1