Top "Line-breaks" questions

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

Has CSS replaced <br/>?

Nowadays I see many websites having few or no <br/> tags. Has CSS obviated the need for <…

html css line-breaks
How to preserve line breaks in xml <string> resources in Android?

I'm trying to use multi-line constants (defined in .xml file under /res/values/ folder), but it seems it's impossible to …

android xml line-breaks aapt
New lines in Jasper Reports?

I've just started using Jasper Reports to generate reports from data retrieved using Hibernate. Everything is working, except JR doesn't …

java jasper-reports newline line-breaks
Smarter word-wrap in PHP for long words?

I'm looking for a way to make word-wrap in PHP a bit smarter. So it doesn't pre-break long words leaving …

php word-wrap line-breaks
display line breaks asp.net mvc razor

I'm using the following to make the text output the line breaks entered in a <textarea> HTML element. …

c# asp.net-mvc razor textarea line-breaks
How do I add a line break / blank line after my LOG statement?

I want to add a blank line after my LOG statement in order to make my logs more separated and …

java logging slf4j line-breaks
When do I use PHP_EOL instead of \n and vice-versa ? Ajax/Jquery client problem

I have a php parser that split a given string by line-breaks, doing something like this: $lines = explode(PHP_EOL,$…

php jquery ajax post line-breaks
detecting line-breaks with jQuery?

is it possible to have jQuery/javascript detect where a string is broken (in order to fit into CSS width …

javascript jquery line-breaks
Vim auto line-break

When I'm writing a long line of text in vim (such as a paragraph in latex), it wraps my text …

vim word-wrap line-breaks
jQuery: keyup(): Update div with content from text area... line breaks?

I have posted a working version here: http://jsfiddle.net/JV2qW/2/ I have a textarea that updates (on keyup()) …

jquery line-breaks key-events