Problem rendering Ampersand Followed by letter

Description

If you place &n&n&n&n many times in a JSP, enough to fill a buffer chunk (a few hundred times), when it gets flushed, if the chunk ends with &n , the output will become "&nn".

Strangely, only ampersand followed by a letter does this. Tried same thing in same environment with Spring MVC and it's not doubling, so I'm guessing there's something in the Stripes Layout processing, because I also tried a plain JSP without layout:render, and it's working fine there.

Found this because my &nbsp was turning into &nnbsp; but only when it's in a very specific place in the JSP , at end of buffer chunk that was about to flush.

Environment

None

Status

Assignee

Unassigned

Reporter

Cris

Labels

None

Tester

None

Affects versions

Release 1.5.7

Priority

Major
Configure