ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Errors in formatting within channel entries

January 21, 2011 6:14am

Subscribe [2]
  • #1 / Jan 21, 2011 6:14am

    Hi guys,

    I am using expression engine v2.1.2 (and fairly new to the system) and I am having a conflict between my h2 and p tags during the first entry of every channel.

    For example:

    {exp:channel:entries channel="blog" dynamic="off" disable="member_data|pagination|trackbacks|categories|category_fields"}
            <h2>{default_heading}</h2>
    <p>                    {default_content}<br />
    <a href="http://{path=">{if default_image}{default_image}</a>{/if}<br />
            <div class="border"></div><br />
            {/exp:channel:entries}

    When I save this in my template, the first entry H2 tags surrounding my custom field have P tags inserted inside them but the rest of the entries are fine?

    Help!  :grrr:

  • #2 / Jan 21, 2011 9:39am

    Anyone?

    :sick:

  • #3 / Jan 21, 2011 12:27pm

    This can now be closed, I have resolved it!

    😊

  • #4 / Jan 22, 2011 11:24am

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, baseline-creative.

    Since you’re new to the EE forums, have you seen EEWiki:// How to Post a Support Request?

    Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases