New to Drupal but making great progress! "Using Drupal" book has showed me how to setup my blogs and wiki sections. Added FCKeditor with ICME.

Here is my (minor) problem. Every time I edit a wiki page and save, it smashed all the HTML together, eliminating any returns and extra spaces. Nice and efficient for the server, but a pain for me to do source editing, as I have to do occasionally. It did not do that in the beginning. So, something I installed or clicked since the Core is causing this 'feature'. Anyone have a hint for me?

Comments

joecanti’s picture

A long shot, but could be your FCK settings - FCK changes the html code to filter out extra line breaks and bits of code it thinks might be malicious...you can change these in the FCK settings under site config.

By returns do you mean hitting the return key to jump to the next line? (line breaks/page breaks)

One thing to do after changing these is to clear the cache - it took me ages to figure out why my changes were not taking effect, but all the old pages (+ mistakes) were cached!

Hope this helps,

Joe

Hackathorn’s picture

Went to Home » Administer » Site configuration > Wysiwyg and did an Edit on my Input Format. Under Cleanup and Output section, I unchecked Remove Linebreaks, leaving Verify HTML, Convert Font, Force Cleanup on Paste. I then cleared cache, but noticed that cache is disabled during our development. No change. All line breaks are eliminated from the HTML source code when the editor is saved.