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:
Lincoln Mullen
2014-03-03 09:55:07 -05:00
committed by Parker Moore
parent 21ea105a82
commit 52ac2b3850
4 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
title: Test Post Where YAML Ends in Dots
...
# Test