From 9387dd2abc82a24ba618f4478e22a98d9f22e0f5 Mon Sep 17 00:00:00 2001 From: Jigar Parekh Date: Fri, 10 Aug 2018 20:33:47 +0530 Subject: [PATCH] tagging within html attributes #78 --- .../opensextant/solrtexttagger/HtmlInterpolationTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/java/org/opensextant/solrtexttagger/HtmlInterpolationTest.java b/src/test/java/org/opensextant/solrtexttagger/HtmlInterpolationTest.java index a0f8831..e2ad1cb 100644 --- a/src/test/java/org/opensextant/solrtexttagger/HtmlInterpolationTest.java +++ b/src/test/java/org/opensextant/solrtexttagger/HtmlInterpolationTest.java @@ -70,6 +70,12 @@ public void testShortHtml() throws Exception{ assertXmlTag("start end", true); } + @Test + public void testHtmlAttribute() throws Exception{ + buildNames("start","end"); + assertXmlTag("start end", 2); + } + @Test public void testHtmlNonTaggable() throws Exception { baseParams.set("nonTaggableTags","a" + (random().nextBoolean() ? ",sub" : ""));