Quote the post's title so reserved yaml chars don't blow up.
This commit is contained in:
parent
6826317e00
commit
87316894cc
|
@ -80,7 +80,7 @@ module Jekyll
|
||||||
f.puts <<-HEADER
|
f.puts <<-HEADER
|
||||||
---
|
---
|
||||||
layout: post
|
layout: post
|
||||||
title: #{title}
|
title: "#{title.gsub('"', '\"')}"
|
||||||
---
|
---
|
||||||
|
|
||||||
HEADER
|
HEADER
|
||||||
|
|
Loading…
Reference in New Issue