fix bugs in XHTML parser (common entities)
This commit is contained in:
parent
9c768415f2
commit
3011b37df4
|
@ -1325,7 +1325,7 @@ public class XhtmlParser {
|
||||||
|
|
||||||
private void defineEntities() {
|
private void defineEntities() {
|
||||||
definedEntities.put("Æ", "\u00C6");
|
definedEntities.put("Æ", "\u00C6");
|
||||||
definedEntities.put("&", "\u0026");
|
// definedEntities.put("&", "\u0026");
|
||||||
definedEntities.put("Á", "\u00C1");
|
definedEntities.put("Á", "\u00C1");
|
||||||
definedEntities.put("Ă", "\u0102");
|
definedEntities.put("Ă", "\u0102");
|
||||||
definedEntities.put("Â", "\u00C2");
|
definedEntities.put("Â", "\u00C2");
|
||||||
|
@ -1477,7 +1477,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("ℱ", "\u2131");
|
definedEntities.put("ℱ", "\u2131");
|
||||||
definedEntities.put("ℱ", "\u2131");
|
definedEntities.put("ℱ", "\u2131");
|
||||||
definedEntities.put("Ѓ", "\u0403");
|
definedEntities.put("Ѓ", "\u0403");
|
||||||
definedEntities.put(">", "\u003E");
|
// definedEntities.put(">", "\u003E");
|
||||||
definedEntities.put("Γ", "\u0393");
|
definedEntities.put("Γ", "\u0393");
|
||||||
definedEntities.put("Ϝ", "\u03DC");
|
definedEntities.put("Ϝ", "\u03DC");
|
||||||
definedEntities.put("Ğ", "\u011E");
|
definedEntities.put("Ğ", "\u011E");
|
||||||
|
@ -1550,7 +1550,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("𝕂", "\uD835\uDD42");
|
definedEntities.put("𝕂", "\uD835\uDD42");
|
||||||
definedEntities.put("𝒦", "\uD835\uDCA6");
|
definedEntities.put("𝒦", "\uD835\uDCA6");
|
||||||
definedEntities.put("Љ", "\u0409");
|
definedEntities.put("Љ", "\u0409");
|
||||||
definedEntities.put("<", "\u003C");
|
// definedEntities.put("<", "\u003C");
|
||||||
definedEntities.put("Ĺ", "\u0139");
|
definedEntities.put("Ĺ", "\u0139");
|
||||||
definedEntities.put("Λ", "\u039B");
|
definedEntities.put("Λ", "\u039B");
|
||||||
definedEntities.put("⟪", "\u27EA");
|
definedEntities.put("⟪", "\u27EA");
|
||||||
|
@ -1730,7 +1730,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("∝", "\u221D");
|
definedEntities.put("∝", "\u221D");
|
||||||
definedEntities.put("𝒫", "\uD835\uDCAB");
|
definedEntities.put("𝒫", "\uD835\uDCAB");
|
||||||
definedEntities.put("Ψ", "\u03A8");
|
definedEntities.put("Ψ", "\u03A8");
|
||||||
definedEntities.put(""", "\\u0022");
|
//definedEntities.put(""", "\\u0022");
|
||||||
definedEntities.put("𝔔", "\uD835\uDD14");
|
definedEntities.put("𝔔", "\uD835\uDD14");
|
||||||
definedEntities.put("ℚ", "\u211A");
|
definedEntities.put("ℚ", "\u211A");
|
||||||
definedEntities.put("𝒬", "\uD835\uDCAC");
|
definedEntities.put("𝒬", "\uD835\uDCAC");
|
||||||
|
@ -1939,7 +1939,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("α", "\u03B1");
|
definedEntities.put("α", "\u03B1");
|
||||||
definedEntities.put("ā", "\u0101");
|
definedEntities.put("ā", "\u0101");
|
||||||
definedEntities.put("⨿", "\u2A3F");
|
definedEntities.put("⨿", "\u2A3F");
|
||||||
definedEntities.put("&", "\u0026");
|
// definedEntities.put("&", "\u0026");
|
||||||
definedEntities.put("∧", "\u2227");
|
definedEntities.put("∧", "\u2227");
|
||||||
definedEntities.put("⩕", "\u2A55");
|
definedEntities.put("⩕", "\u2A55");
|
||||||
definedEntities.put("⩜", "\u2A5C");
|
definedEntities.put("⩜", "\u2A5C");
|
||||||
|
@ -1970,7 +1970,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("⩯", "\u2A6F");
|
definedEntities.put("⩯", "\u2A6F");
|
||||||
definedEntities.put("≊", "\u224A");
|
definedEntities.put("≊", "\u224A");
|
||||||
definedEntities.put("≋", "\u224B");
|
definedEntities.put("≋", "\u224B");
|
||||||
definedEntities.put("'", "\u0027");
|
// definedEntities.put("'", "\u0027");
|
||||||
definedEntities.put("≈", "\u2248");
|
definedEntities.put("≈", "\u2248");
|
||||||
definedEntities.put("≊", "\u224A");
|
definedEntities.put("≊", "\u224A");
|
||||||
definedEntities.put("å", "\u00E5");
|
definedEntities.put("å", "\u00E5");
|
||||||
|
@ -2397,7 +2397,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("≳", "\u2273");
|
definedEntities.put("≳", "\u2273");
|
||||||
definedEntities.put("⪎", "\u2A8E");
|
definedEntities.put("⪎", "\u2A8E");
|
||||||
definedEntities.put("⪐", "\u2A90");
|
definedEntities.put("⪐", "\u2A90");
|
||||||
definedEntities.put(">", "\u003E");
|
// definedEntities.put(">", "\u003E");
|
||||||
definedEntities.put("⪧", "\u2AA7");
|
definedEntities.put("⪧", "\u2AA7");
|
||||||
definedEntities.put("⩺", "\u2A7A");
|
definedEntities.put("⩺", "\u2A7A");
|
||||||
definedEntities.put("⋗", "\u22D7");
|
definedEntities.put("⋗", "\u22D7");
|
||||||
|
@ -2644,7 +2644,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("‘", "\u2018");
|
definedEntities.put("‘", "\u2018");
|
||||||
definedEntities.put("‚", "\u201A");
|
definedEntities.put("‚", "\u201A");
|
||||||
definedEntities.put("ł", "\u0142");
|
definedEntities.put("ł", "\u0142");
|
||||||
definedEntities.put("<", "\u003C");
|
// definedEntities.put("<", "\u003C");
|
||||||
definedEntities.put("⪦", "\u2AA6");
|
definedEntities.put("⪦", "\u2AA6");
|
||||||
definedEntities.put("⩹", "\u2A79");
|
definedEntities.put("⩹", "\u2A79");
|
||||||
definedEntities.put("⋖", "\u22D6");
|
definedEntities.put("⋖", "\u22D6");
|
||||||
|
@ -2990,7 +2990,7 @@ public class XhtmlParser {
|
||||||
definedEntities.put("⨖", "\u2A16");
|
definedEntities.put("⨖", "\u2A16");
|
||||||
definedEntities.put("?", "\u003F");
|
definedEntities.put("?", "\u003F");
|
||||||
definedEntities.put("≟", "\u225F");
|
definedEntities.put("≟", "\u225F");
|
||||||
definedEntities.put(""", "\\u0022");
|
// definedEntities.put(""", "\\u0022");
|
||||||
definedEntities.put("⇛", "\u21DB");
|
definedEntities.put("⇛", "\u21DB");
|
||||||
definedEntities.put("⇒", "\u21D2");
|
definedEntities.put("⇒", "\u21D2");
|
||||||
definedEntities.put("⤜", "\u291C");
|
definedEntities.put("⤜", "\u291C");
|
||||||
|
|
Loading…
Reference in New Issue