Changing from br tag to \n is good in theory, but it will look bad in webui. I'm not sure there's a good way to handle this, though: we want \n when not using webui, and br tag when using webui.