mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Permit YAML blocks to end with three dots
The YAML spec permits blocks to end with three dots (...) in addition to three dashes (---): http://www.yaml.org/spec/1.2/spec.html#id2760395. Some programs that work with Jekyll (e.g., Pandoc) prefer the dots to dashes. This commit permits the YAML metadata block to end with either dots or dashes. It includes tests. Signed-off-by: Parker Moore <parkrmoore@gmail.com>
This commit is contained in:
committed by
Parker Moore
parent
21ea105a82
commit
52ac2b3850
5
test/source/_posts/2014-03-03-yaml-with-dots.md
Normal file
5
test/source/_posts/2014-03-03-yaml-with-dots.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Test Post Where YAML Ends in Dots
|
||||
...
|
||||
|
||||
# Test
|
||||
Reference in New Issue
Block a user