HyperFluxCMS

Fast. Flexible. Free.

HyperFluxCMS

Avoiding line breaks

How to avoid automatic line breaks

published 01/01/2025 14:09, updated 04/13/2026 22:37

The automatic paragraph and line break generation feature greatly facilitates text editing. But it can generate undesirable results when importing pages already written in HTML. See how to deal with this situation.

In some cases, you may want to insert some line breaks in your original text to make it easier to view, but you don't want the break to appear to your visitor, but rather a single continuous line.

To do this, you must end the line with a backslash \, the same symbol used to escape special characters. The backslash must be the last symbol on the line, with nothing else (not even a space) after it.

Upon seeing that a line ends with this symbol, HyperFluxCMS understands that whatever is on the next line should be considered part of the current line.

For example,

This text is divided \
into several lines, but \
appears as a single one.

It will appear to the site visitor as a single line:

This text is divided into several lines, but appears as a single one.

Remember that this symbol indicates that the next line should be concatenated (joined) to the current line as it is. That is why there is a space between the last word of the line and the backslash. If this space does not exist, as in the text below...

This text is divided\
into several lines but\
appears as a single one.

It will appear like this:

This text is dividedinto several lines butappears as a single one.