Merge pull request #911 from Keithbsmiley/2.1

Fix crash with nil passes
This commit is contained in:
Brandon Mathis 2013-01-02 20:52:39 -08:00
commit 418ed0cbcf

View File

@ -126,7 +126,7 @@ module OctopressLiquidFilters
# Returns a title cased string based on John Gruber's title case http://daringfireball.net/2008/08/title_case_update
def titlecase(input)
input.titlecase
input.titlecase unless input.nil?
end
end