How are you setting %INPUT? What is under its 'comments' key before substitution? What is there after substitution?
You may want to reorder your substitutions so that the CRLF one is first. Your first two should give two <br /> tags to a CRLF pair and prevent the third from matching.
After Compline,
Zaxo
In reply to Re: Replacing new lines in multi line text box form fields with <br>.
by Zaxo
in thread Replacing new lines in multi line text box form fields with <br>.
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |