insert html line break berfore all newlines in a string
format a number with group thousand