summaryrefslogtreecommitdiffstats
path: root/t/fmt/txt-markdown/YamlFrontMatter_fake.trans
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/fmt/txt-markdown/YamlFrontMatter_fake.trans13
-rw-r--r--t/fmt/txt-markdown/YamlFrontMatter_fake.trans.stderr2
2 files changed, 15 insertions, 0 deletions
diff --git a/t/fmt/txt-markdown/YamlFrontMatter_fake.trans b/t/fmt/txt-markdown/YamlFrontMatter_fake.trans
new file mode 100644
index 0000000..88cfa6b
--- /dev/null
+++ b/t/fmt/txt-markdown/YamlFrontMatter_fake.trans
@@ -0,0 +1,13 @@
+---
+
+tHIS FILE BEGINS WITH THREE DASH, BUT NOT BECAUSE THERE IS A yAML fRONT
+mATTER.
+
+iNSTEAD, THIS FILE IS A FOOTET THAT SHOULD START WITH AN HORIZONTAL RULER.
+
+THIRD PARAGRAPH
+
+---
+
+wHY SHOULDN'T PAGES BE ALLOWED TO INCLUDE HORIZONTAL RULERS ON TOP AND THEN
+SOMEWHERE ELSE?
diff --git a/t/fmt/txt-markdown/YamlFrontMatter_fake.trans.stderr b/t/fmt/txt-markdown/YamlFrontMatter_fake.trans.stderr
new file mode 100644
index 0000000..0c215ad
--- /dev/null
+++ b/t/fmt/txt-markdown/YamlFrontMatter_fake.trans.stderr
@@ -0,0 +1,2 @@
+po4a::text: Proceeding even if the YAML Front Matter could not be parsed. Remove the 'yfm_lenient' option for a stricter behavior.
+Ignored error: YAML::Tiny failed to classify line 'This file begins with three dash, but not because there is a Yaml Front Matter.'