WordPress.org

Support

Support » Miscellaneous » how to NOT remove leading spaces

how to NOT remove leading spaces

  • is there a way NOT to remove leading spaces in posts lines?
    I write poems and I need sometimes to add some spaces to indent a little a line.

    I have added a piece of code in function-formatting.php:

    $curl = preg_replace('/s /',' ', $curl);

    that substitutes leading spaces with   , and it works if I don’t use the visual rich editor.

    How can I get the same result in tinymce? I don’t know where put a similar code…

    help! ;o)

    fab’

  • The topic ‘how to NOT remove leading spaces’ is closed to new replies.