From ff97278e6e7e46f44d69036fad2de3c6cfae0ca2 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Wed, 14 Mar 2018 12:35:27 +0100 Subject: Add fixture test for inline links --- haddock-library/fixtures/examples/linkInline.input | 1 + haddock-library/fixtures/examples/linkInline.parsed | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 haddock-library/fixtures/examples/linkInline.input create mode 100644 haddock-library/fixtures/examples/linkInline.parsed (limited to 'haddock-library') diff --git a/haddock-library/fixtures/examples/linkInline.input b/haddock-library/fixtures/examples/linkInline.input new file mode 100644 index 00000000..eeca5a07 --- /dev/null +++ b/haddock-library/fixtures/examples/linkInline.input @@ -0,0 +1 @@ +Bla [link](http://example.com) diff --git a/haddock-library/fixtures/examples/linkInline.parsed b/haddock-library/fixtures/examples/linkInline.parsed new file mode 100644 index 00000000..43470d7b --- /dev/null +++ b/haddock-library/fixtures/examples/linkInline.parsed @@ -0,0 +1,6 @@ +DocParagraph + (DocAppend + (DocString "Bla ") + (DocHyperlink + Hyperlink + {hyperlinkLabel = Just "link", hyperlinkUrl = "http://example.com"})) -- cgit v1.2.3