Quote the post's title so reserved yaml chars don't blow up.

This commit is contained in:
Stephen McDonald 2011-11-20 22:13:01 +11:00
parent 6826317e00
commit 87316894cc
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ module Jekyll
f.puts <<-HEADER f.puts <<-HEADER
--- ---
layout: post layout: post
title: #{title} title: "#{title.gsub('"', '\"')}"
--- ---
HEADER HEADER