Fix #175 - Correctly parse ™
This commit is contained in:
parent
f9a9232926
commit
4d9b2c6e8c
File diff suppressed because it is too large
Load Diff
|
@ -66,7 +66,7 @@ public class XhtmlDtTest {
|
|||
|
||||
@Test
|
||||
public void testCharacterEntities() {
|
||||
String input = "Sect: § uuml: ü Ü";
|
||||
String input = "& Sect: § uuml: ü Ü Trade: ™";
|
||||
|
||||
XhtmlDt x = new XhtmlDt();
|
||||
x.setValueAsString(input);
|
||||
|
@ -77,7 +77,7 @@ public class XhtmlDtTest {
|
|||
|
||||
XhtmlDt x2 = new XhtmlDt();
|
||||
x2.setValue(x.getValue());
|
||||
assertEquals("<div>Sect: § uuml: ü Ü</div>", x2.getValueAsString());
|
||||
assertEquals("<div>& Sect: § uuml: ü Ü Trade: ™</div>", x2.getValueAsString());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -69,6 +69,10 @@
|
|||
large attachments, so this setting has been increased to 100Mb.
|
||||
Thanks to Nikos Kyriakoulakos for reporting!
|
||||
</action>
|
||||
<action type="fix" issue="175">
|
||||
Some HTML entities were not correctly converted during parsing. Thanks to
|
||||
Nick Kitto for reporting!
|
||||
</action>
|
||||
</release>
|
||||
<release version="1.0" date="2015-May-8">
|
||||
<action type="add">
|
||||
|
|
Loading…
Reference in New Issue