Forums / Developer / XMLblock - Fetching and removing surrounding p tag

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

XMLblock - Fetching and removing surrounding p tag

Author Message

Lars Eirik R

Monday 08 March 2010 1:16:23 am

Hi.

I need to be able to neatly insert all content from an xmlblock but without the surrounding p tag. The surrounding p tag makes it impossible for me to float an image i have.

Can this be done using a regular template output of a variable?

Is there an easy way to do such a thing or should i use a pregreplace or similar?