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

LG Image and File Manager - Wrapping <p> tags around inserted content

Development and Programming

timkelty's avatar
timkelty
177 posts
16 years ago
timkelty's avatar timkelty

Mentioned here: http://ellislab.com/forums/viewthread/68559/

All my inserted content from the file or image manager seem to be getting wrapped in a p tag and a space appended to the end of the path. I initially noticed it as I was using it with Lumis’ imgsizer plugin. Is this indeed a bug?

       
timkelty's avatar
timkelty
177 posts
16 years ago
timkelty's avatar timkelty

I figured this one out.

The only way I found to fix this was: * edit the field, changing the fieldtype to textinput * change the formatting to something other than none * check the “change all entries” checkbox * change the field back to “none”, check the checkbox again

Fixed! No hack to the imgsizer plugin needed.

       
Poccuo's avatar
Poccuo
22 posts
16 years ago
Poccuo's avatar Poccuo

I had solved this issue the following way:

<?php $clean_image_tag = 

This method looks like it will be much cleaner. I will report back what I find.

       
Philip Zaengle's avatar
Philip Zaengle
293 posts
16 years ago
Philip Zaengle's avatar Philip Zaengle

@Poccuo Thanks for the tip, I’d been struggling with the code for about 30 mins before I goggled and found this.

       

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.