StringReplace bug (in Delphi it's OK)
Original Reporter info from Mantis: silvioprog
-
Reporter name: silvioprog
Original Reporter info from Mantis: silvioprog
- Reporter name: silvioprog
Description:
Hi,
I'm trying to replace CR to BR tag, i.e, if the string is 'A'+CRLF+'B'+CRLF+'C', the result will be:
A&LtPos;br />LF
B&LtPos;br />LF
C
On Delphi it work fine, but on Free Pascal the result is:
A&LtPos;br />CRLF
B&LtPos;br />CRLF
C
Steps to reproduce:
Program to reproduce the error in attached.
Mantis conversion info:
- Mantis ID: 22441