Top "Line-breaks" questions

Whitespace that forces text layout to continue at the start of the next line.

How to insert line break within OPENXML spreadsheet cell?

I'm currently using something like this to insert inline string in a cell : new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)4…

c# cell openxml spreadsheet line-breaks
MVC3 putting a newline in ViewBag text

I have an MVC3 C#.Net web app. I am looping through a DataTable. Some rows are importing OK, some …

c# asp.net-mvc-3 text line-breaks viewbag
Break line on each tag attribute and keep them aligned in Visual Studio HTML code editor

If you'd like to see this implemented in the next version of VS, please vote for it here. Suppose the …

html visual-studio tags formatting line-breaks
Replace multiple <br>'s with only one <br>

How do I use JavaScript to detect <br> <br> <br> to become one <…

javascript jquery html replace line-breaks
Line break in the mailto onclick

The code below works great except the email has all the text on one line like this: Height: 60 | Diagonal: 123 | Width: 107 | …

javascript mailto line-breaks
Normalizing line endings in Ruby

I have a string in Ruby, s (say) which might have any of the standard line endings (\n, \r\n, \…

ruby newline line-breaks
Adding linebreak in xml file before root node

I am trying to add line break after my comments above the root node in XML document. I need something …

java xml line-breaks domparser
What's the opposite of a nbsp?

A &nbsp; character is a space which doesn't allow for line breaking. <p>lorem ipsum here&…

html character line-breaks hyphenation
Aligning the text in Google Maps Marker snippet

I want the string in my snippet to be aligned to the center. Also, line breakers (\n) in the snippet …

android google-maps line-breaks marker text-align
Newline in a ValidationMessage

I'm testing a list of things for null. Every time I find one, I save it in an array to …

asp.net-mvc asp.net-mvc-3 newline line-breaks validationmessage