From a91382c2f3c42cd5a3be20b213f0a51a408f0e25 Mon Sep 17 00:00:00 2001 From: srosse <none@none> Date: Fri, 10 Mar 2017 17:08:49 +0100 Subject: [PATCH] OO-2608: add a unit test for this special case (which doesn't look very special) --- .../org/olat/ims/qti21/pool/QTI12To21HtmlHandlerTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/olat/ims/qti21/pool/QTI12To21HtmlHandlerTest.java b/src/test/java/org/olat/ims/qti21/pool/QTI12To21HtmlHandlerTest.java index 9fea1fd7cda..5720178d5ed 100644 --- a/src/test/java/org/olat/ims/qti21/pool/QTI12To21HtmlHandlerTest.java +++ b/src/test/java/org/olat/ims/qti21/pool/QTI12To21HtmlHandlerTest.java @@ -44,7 +44,11 @@ public class QTI12To21HtmlHandlerTest { { "Hello world", "Hello world" }, { "First line <br/>Second line", "<p>First line <br/>Second line</p>" }, { "<hr />And some content", "<hr/><p>And some content</p>" }, - { "Some content<br /> <br /><strong>Strong content!</strong>", "<p>Some content<br/>\u00A0<br/><strong>Strong content!</strong></p>" } + { "Some content<br /> <br /><strong>Strong content!</strong>", "<p>Some content<br/>\u00A0<br/><strong>Strong content!</strong></p>" }, + // https://jira.openolat.org/browse/OO-2608 + { "What are the two different approaches to set up special conditions?<br /> <br />", + "<p>What are the two different approaches to set up special conditions?<br/>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <br/></p>" + } }); } -- GitLab