aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2013-01-12 16:36:15 -0600
committerBrandon Mathis <brandon@imathis.com>2013-01-12 16:38:25 -0600
commitcd6926e41bdd9b7170518648dae551b605ffbe73 (patch)
treec8062243fa3e83cb3a6520e275582500727ab069 /plugins
parentd686105bda06d05b7b7310d9ba9ad3f1e23c2cbf (diff)
downloadmy_new_personal_website-cd6926e41bdd9b7170518648dae551b605ffbe73.tar.xz
my_new_personal_website-cd6926e41bdd9b7170518648dae551b605ffbe73.zip
Striped whitespace from titles in blockquote plugin
Diffstat (limited to '')
-rw-r--r--plugins/blockquote.rb4
1 files 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