The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Disable auto-linebreaks (1 post)

  1. heeyo
    Posted 7 years ago #

    Hey. What i'm trying to do is disable the "auto-linebreak" feature that wordpress has. My reason for this is that I am using PHP with Flash to display various pages in the flash document. If I put the 'br /' tags in manually, I have to keep all my content on one line to stop WordPress from automatically putting things on a new line.

    WordPress has some weird way of processing the breaks, too, as when I check my database the content that it has put in there has no linebreaks, for example:

    Some sample text with a few
    line breaks

    Note that there are no 'br /' tags in there.

    A more ideal solution would be if I could change the way it parses the breaks so that it actually puts them in the database for me, so instead of it spitting out the above code, it'd output something like this:

    Some sample text with a few'br /'
    line breaks'br /'
    'br /'
    <strong>ahah</strong>'br /'
    'br /'

    Note that the ' symbols in 'br /' are in place of < and >

Topic Closed

This topic has been closed to new replies.

About this Topic