Reputation: 44075
Line breaks after <td>
tags in aspx pages cause line breaks to be output in the html causing text to expand into multi lines.
Is there a way in Visual Studio, Resharper or online formatter which removes these type of line feeds? I don't want to remove every single line feed.. just the ones after<td>
?
Upvotes: 0
Views: 1334
Reputation: 8727
Try using Regex in Find-and-Replace in Visual Studio.
here \r?\n match a line break
Upvotes: 2
Reputation: 7633
You could open your source files in SublimeText, do a find->replace. Enable regular expressions (the .* button) and then use these values:
find: \n replace:
Sorry I don't have a VisualStudio related solution
Upvotes: 0