We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Why are category field values wrapped in <p> tags with formatting none on EE3?

Development and Programming

hailwood's avatar
hailwood
9 posts
10 years ago
hailwood's avatar hailwood

crosspost from http://expressionengine.stackexchange.com/questions/35907/why-are-category-field-values-wrapped-in-p-tags-with-formatting-none-on-ee3

I’ve got a single category group with multiple category fields and categories.

The fields are all either text or select types and have their formatting set to none.

The formatting type seems to be saved correctly based on the database, and as suggested on several issues relating to SS2 (I’ve read all of the suggested questions for this title) I’ve tried changing the formatting type to XHTML; saving; then back to None but nothing is changing and the “update existing records” checkbox some have suggested is not visible.

And the data that is actually saved in the database seem to be free of the tags so they are being inserted at template parsing.

Am I missing something or is this a bug?

{exp:channel:categories style="linear" channel="element-products"}
    <ul class="product-table">
        <li class="description"> </li>
        <li class="description">{category-small-title}</li>
        <li class="title2">{category_name}</li>
        <li class="bullet-item">{category_image}</li>
        <li class="description">Starting From:</li>
        <li class="price">
            <div  inline-block;">
                <div  left;">
                    <span>{category-price}</span>
                </div>
                <div  left;">
                    <span class="priceUnit">p/</span>
                    <span class="priceUnit">{category-duration}</span>
                </div>
            </div>
        </li>
        <li class="cta-button">
            
                <span>
                    <a href="http://{category-button-link}">_                        {category-button-text}_                    </a>
                </span>
            
        </li>
        <li class="descriptionBar"><div class="greenbar"></div></li>
    </ul>   
{/exp:channel:categories}
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.