From 976f4f2d8fd8b5b984da52dc63d665038c4d023f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 1 Apr 2014 10:15:21 -0700 Subject: Added HTML reader tests for empty strong, emph. --- tests/html-reader.html | 1 + tests/html-reader.native | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/html-reader.html b/tests/html-reader.html index b7e5c0d2f..1e104b00f 100644 --- a/tests/html-reader.html +++ b/tests/html-reader.html @@ -302,6 +302,7 @@ These should not be escaped: \$ \\ \> \[ \{

Inline Markup

This is emphasized, and so is this.

This is strong, and so is this.

+

Empty and .

An emphasized link.

This is strong and em.

So is this word.

diff --git a/tests/html-reader.native b/tests/html-reader.native index a6a3ab177..8fbecf34f 100644 --- a/tests/html-reader.native +++ b/tests/html-reader.native @@ -186,6 +186,7 @@ Pandoc (Meta {unMeta = fromList [("generator",MetaInlines [Str "pandoc"]),("titl ,Header 1 ("",[],[]) [Str "Inline",Space,Str "Markup"] ,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str "."] ,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str "."] +,Para [Str "Empty",Space,Strong [],Space,Str "and",Space,Emph [],Str "."] ,Para [Str "An",Space,Emph [Link [Str "emphasized",Space,Str "link"] ("/url","")],Str "."] ,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]] ,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."] -- cgit v1.2.3