Yes, its a general ez publish problem - everything is wrapped in paragraphs in ezxml, this paragraphs get to the output and you can't control this process.
Although I can propose to fix this on the output level, for example to implement a setting that will strip off inner paragraphs. It could be an array with tag names as index and true/false values.
Hi Andrew, I'm not 100% clear on your needs but I know that the extra markup can be a pain, in some cases I have used the strip_tags function to get around this issue on the output as Kirill mentioned, however I'm not sure if it will help you with custom tags?
If you haven't already, you can set up the strip_tags function (from PHP) in template.ini.
Thank you both for your answers, and please forgive the tardy response. I was assuming I'd get mail when a response was posted and didn't.
At any rate, because I'm under a heavy deadline, I just wrapped the output in a <div> container of a certain class, and then redifined paragraphs within to have no margins or padding.
Cheap hack, but got the job done, and at the moment that's the only priority.
I'll investigate your suggestions in the new year when I have a bit of breathing room.
Thanks again, both of you.
Andy
You must be logged in to post messages in this topic!