From 8899c5515aa3cad313250c82cacc895f8cd89e2f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 19 Oct 2014 10:06:28 +0100 Subject: Fix multi-parsing issue Breaks base-url handling, but I'll have to do that better anyway --- test/microformats/parser_expectations.clj | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test') diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj index a60883d..f8c7bfb 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -304,3 +304,15 @@ (parse "
\"Example
")) + +(expect {:items '({:type ("h-card"), + :properties {:photo ("http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg"), + :url ("http://blog.lizardwrangler.com/" "https://twitter.com/MitchellBaker"), + :name ("Mitchell Baker"), + }}) + :rels {}} + (parse "
+ + Mitchell Baker + MitchellBaker +
")) -- cgit 1.4.1