mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 17:28:29 -05:00
Quote the post's title so reserved yaml chars don't blow up.
This commit is contained in:
@@ -80,7 +80,7 @@ module Jekyll
|
||||
f.puts <<-HEADER
|
||||
---
|
||||
layout: post
|
||||
title: #{title}
|
||||
title: "#{title.gsub('"', '\"')}"
|
||||
---
|
||||
|
||||
HEADER
|
||||
|
||||
Reference in New Issue
Block a user