in the test's case the last '-' character at the end of the paragraph is not encoded correctly.
the '-' is a unicode character, not a regular - sign.
I opened both the input and output files in a browser and they look identical. Even the html source looks identical except for different line wrapping. What exactly is the problem?
I have attached jtidies' output. Have a look at the "incluindo – mas" section. I have tried to shorten the problematic sequence as short as I can. The strange thing is that - when you remove some things from the beginning, everything works nicely.
What version of jtidy did you use and what program/command did you run?
I'm using trunk. I have seen the problem for at least two years but never filed a bug.
Hi, could you try the attached patch please?
It seems to fix the problem but I wonder if it breaks anything.
Btw, it doesn't seem to break any more tests on the java5 branch.
I'll check in two weeks...