Be careful, white spaces are "honored", meaning that if you add a white space or a newline, it will influence the display, unlike html where whitespaces are "normalized' (collapsed in a single space or none, depending on the context).
So replacing a line with 2 lines, of which one is an empty line, might actually influence the display in an undesired way.