Page 1 of 1
Bug Notes HTML
Posted: 23 Mar 2005, 02:29
by chris
Currently, when users enter a bug note with line breaks, it just adds <br /><br /> tags to the end of the line. Is it possible to have it surround each line break with <p> and </p> tags instead?
Posted: 24 Mar 2005, 12:09
by chris
Great, I get no help for any of my posts, lol.
Posted: 27 Mar 2005, 15:26
by thraxisp
Not without changing the code. Sorry.
Posted: 27 Mar 2005, 15:33
by chris
Yeah, I'm fine with changing the code. I'm not sure where the code is to change, though.
Posted: 27 Mar 2005, 15:40
by thraxisp
The text fields are processed through "string_display" in core/strings_api.php. You probably want to modify string_nl2br to remove the insertion of the <br />.