Add newlines after opening and closing tags

Which also fixes the problem with the PRE tag eating it's first newline