Forums

Indent HTML Code Within Pages (2 posts)

  1. neoian2
    Member
    Posted 2 years ago #

    We like to have our 'WordPress pages' include HTML code because we update our site quite often. I notice that when including indents within the page field that WordPress likes to remove them when parsing the page and sending it to the user's browser. We're a design firm and I find this makes the code rather messy when viewing the source.

    Is there a way to prevent WordPress from removing the indents within the code? The only way we've found to get around this is to use page templates. Thanks

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Is there a way to prevent WordPress from removing the indents within the code?

    Not that I'm aware of. But then I'm the complete opposite. I loathe indented markup. Indented code - fine. But not markup...

Topic Closed

This topic has been closed to new replies.

About this Topic