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.

Line Break

March 16, 2011 3:08pm

Subscribe [2]
  • #1 / Mar 16, 2011 3:08pm

    Evolve Websites

    110 posts

    This should be a quick one.

    I’ve got a line of code that reads like this:

    <h4>Location: {stockist_location}</h4>

    When EE creates my code it puts the stockist location into P tags, meaning I get an unwanted line break as seen here: LINK

    Any tips appreciated.

  • #2 / Mar 16, 2011 7:14pm

    Jamie Rumbelow

    546 posts

    ExpressionEngine, by default, formats text inputs with XHTML. Edit your custom field and set the default text formatting to **None** (http://cl.ly/3T0c2O291J0w3u2W0q3F) and this should solve your problem!

  • #3 / Mar 17, 2011 9:15am

    Evolve Websites

    110 posts

    Really helpful, thanks Jamie!

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

ExpressionEngine News!

#eecms, #events, #releases