0

I like to use HTML when adding content to the body of my nodes. I like to keep the HTML clean and uncluttered. I like HTML that has semantic meaning.

I indent using 2 spaces instead of a tab, which prevents having whitespace chaos. I indent using 2 spaces instead of 4, which makes it more compact and readable.

So I create nice, well formatted HTML, 2-space indent, save the node. Then when I come back to edit it, Drupal adds tabs whenever indent-spaces used to be and now it looks horrible and more difficult to read.

Also, Drupal removes the spaces between paragraphs that I add to make paragraph groups more readable.

How can I prevent Drupal 7 from adding whitespace to source code?

3
  • 1
    by configuring your wysiwyg?
    – Sohail
    Commented Feb 26, 2013 at 15:28
  • which wysiwyg editor are you using?
    – Aboodred1
    Commented Feb 26, 2013 at 16:03
  • I'm using CKEditor
    – leonel
    Commented Feb 26, 2013 at 16:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.