MER-C/wiki-java

Broken XML entity stripping in decode()

Closed this issue · 0 comments

Test code (targetted revision):

Wiki wiki = new Wiki("test.wikipedia.org");
Revision rev = wiki.getRevision(230376);
String text = rev.getText();
  • Expected value (text): ''italic''
  • Actual value: ''italic''
  • Proposed solution: make && the last replace operation in decode()