WordPress.org

Ready to get started?Download WordPress

Forums

how to NOT remove leading spaces (1 post)

  1. fabiomora
    Member
    Posted 8 years ago #

    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'

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags