Browse code

Striped whitespace from titles in blockquote plugin

Brandon Mathis authored on 12/01/2013 at 22:36:15
Showing 1 changed files
... ...
@@ -31,13 +31,13 @@ module Jekyll
31 31
       if markup =~ FullCiteWithTitle
32 32
         @by = $1
33 33
         @source = $2 + $3
34
-        @title = $4.titlecase
34
+        @title = $4.titlecase.strip
35 35
       elsif markup =~ FullCite
36 36
         @by = $1
37 37
         @source = $2 + $3
38 38
       elsif markup =~ AuthorTitle
39 39
         @by = $1
40
-        @title = $2.titlecase
40
+        @title = $2.titlecase.strip
41 41
       elsif markup =~ Author
42 42
         @by = $1
43 43
       end