Help - Search - Members - Calendar
Full Version: <p> in <$MTEntryBody$>
Movable Type Community Forum > Additional Resources > Tips and Tricks
sergio
hi!

I´ve seen that after executing or parsing the
CODE
<$MTEntryBody$>
tag i get the content between
CODE
<p></p>
. I would like to make MT not to write it in the final html. How can i do this?

Thanks!
nammer
In Weblog Config, under "Preferences," try turning off "Convert Line Breaks" - set it to "none." You'll need to change previous entries by hand.

Does that help?

Donna
charle97
turn off convert line breaks in the text formatting pulldown of the edit entry screen and the preferences section of the weblog config.
sergio
thank you both for your replies!
It seems that i could not explain myself in a clear way. what i wanted to do is to stop MT including this

tags when parsing the main template. Im not writing any smile.gif

CODE
....<b><$MTEntryTitle$></b><$MTEntryBody$>....

but when i see the final result and look the source code i get this:
CODE
<b>title_test_01</b><p>test_01</p>



.see what i mean?

thanks!
almuhajabah
It's the convert line breaks setting that adds the p tags; that's why you need to turn it off smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.