Top "Line-breaks" questions

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

No line-break after a hyphen

I'm looking to prevent a line break after a hyphen - on a case-by-case basis that is compatible with all …

html css character-encoding line-breaks hyphenation
Latex Multiple Linebreaks

I use LaTeX to type up programming homeworks for classes. I need to do this: my line of text blah …

latex line-breaks
Render a string in HTML and preserve spaces and linebreaks

I have an MVC3 app that has a details page. As part of that I have a description (retrieved from …

html css newline whitespace line-breaks
Code line wrapping - how to handle long lines

I'm facing a particular line that is 153 characters long. Now, I tend to break things after 120 characters (of course, this …

java coding-style conventions line-breaks
line breaks in a textarea

I know when saving a textarea you can use the nl2br() or str_replace to change the /n to …

php html textarea line-breaks nl2br
adding line break

I have a problem with adding line break in a string. I have tried using "\r\n", and Environment.NewLine …

c# line-breaks
How to linebreak an svg text within javascript?

So here is what I have: <path class="..." onmousemove="show_tooltip(event,'very long text \\\n I would like …

javascript svg newline line-breaks
How do I format a String in an email so Outlook will print the line breaks?

I'm trying to send an email in Java but when I read the body of the email in Outlook, it's …

java email outlook newline line-breaks
Neatest way to remove linebreaks in Perl

I'm maintaining a script that can get its input from various sources, and works on it per line. Depending on …

perl line-breaks
jQuery convert line breaks to br (nl2br equivalent)

I'm having jQuery take some textarea content and insert it into an li. I want it to visually retain the …

javascript jquery line-breaks