Expresso
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
Extra empty paragraph tags being inserted [resolved]
General
IOM Caribbean
|
Posted: 21 June 2011 01:07 PM |
|
|
|
At the end of every custom Expresso Field there are extra paragraph tags that only contain non-breaking space characters, and it’s ruining my layout a bit. Is there any way I can get rid of them?
|
|
|
PutYourLightsOn
|
Posted: 22 June 2011 08:08 AM |
# 1
|
|
Developer
|
i’m not quite sure why EE is adding the extra paragraph, but changing line 212 in ft.expresso.php to the following will prevent it from happening:
'text_format' => 'none',
i’ll add this in the next release
|
|
|
Tony Geer
|
Posted: 22 June 2011 05:06 PM |
# 2
|
|
|
Worked perfectly, thanks.
|
|
|
PutYourLightsOn
|
Posted: 22 June 2011 08:00 PM |
# 3
|
|
Developer
|
nice
|
|
|
Tony Geer
|
Posted: 23 June 2011 01:23 PM |
# 4
|
|
|
Actually there’s a slight problem. While that removed the extra p that appeared at the end, after I imported some entries using Datagrab, all the formatting was lost from those entries. When I changed back the text format to xhtml, it brought back the paragraph and other tags.
Is there any way to keep the text format as xhtml but remove the extra p being produced on other entries?
|
|
|
PutYourLightsOn
|
Posted: 23 June 2011 02:33 PM |
# 5
|
|
Developer
|
your best bet is probably to edit the entry and click on update. Expresso will ensure your data is xhtml and it should then render correctly.
|
|
|
taurryLiats
|
Posted: 23 November 2011 12:59 PM |
# 6
|
|
|
[spam comment - removed]
|
|
|