79597516

Date: 2025-04-29 02:19:47
Score: 2
Natty:
Report link

I was able to solve like this using the escape characters for br, it is missing the ; because it translates it back to

var doc = sample.replace("<br>", "&ltbr&gt");

Then

var expectedDoc = xmlMapper.readTree(doc);

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: BreenDeen