user-pic

HTML line-breaks being inserted into empty Entries

Vote 0 Votes

I've just upgraded to MT5 and I've noticed that when I'm editing/saving an Entry, HTML line breaks
are being added to the Entry Body... how do I make this stop? It seems to happen whatever 'Format' I choose for the Entry.

Reported on Movable Type 5

6 Replies

| Add a Reply
  • Phil, I think this has already been reported as a bug but the work-around at the moment is to disable the Zemanta plugin at the system level, presuming, of course, that you're not using it. If you are using Zemanta, you're reduced to having to delete the <br /%gt; when you create a new entry or page until it gets fixed.

  • Doh, wouldn't you know it... after posting that, the only other thing I did in Movable Type was to disable the annoying Zemanta plug-in! But it never occurred to me the two things would be related. Problem now solved - thanks again Violet.

  • Hello, Phil

    I think you are using the default rich-text editor.
    The matter you wrote was caused by that.

    If you don't need to use rich-text editor, you can choose another editor option, instead of default wysiwyg editor. Then line-break tag won't be inserted to your entry-body form.

  • It was also happening with other formatting options (such as 'no' formatting and 'Markdown with SmartyPants'). No matter, as I'd already chosen to turn that awful Zemanta thing off (what were they thinking...?).

  • >Phil,

    Oh, sorry, I found the problem, and you were right.
    MT5's editor makes br code whatever I choose them.

    Please ignore my comment.


  • >Hi Phil,

    I happned to find that the line break code will be vanished if "zemanta" plugin would be disabled from your system overview dashboard.

    Perhaps the cause of the issue is generated by zemanta.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1428 5076

Last Topic: Stupid Question? How to make a static homepage by Jeremy on Feb 3, 2012

694 2908

Last Topic: Blogspot to Movable Type by sdude on Feb 8, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 565

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012