En:Why are line breaks not displayed?

From phpCMS

Jump to: navigation, search

Question: Why are line breaks in the content file not displayed in the browser?

Answer:

phpCMS handles line breaks within content files like they are treated in HTML.

This means, that you have to use HTML tags like <br> (or better <br />) or <p>...</p> to create line breaks.

For text inside a <pre>...</pre> container, the line breaks are of course preserved.

Diese Seite in anderen Sprachen: Deutsch

Main Page: FAQ MainPage | Top Page: English FAQ MainPage

Personal tools