I'm using an asset listing to pulish an XML file. I have set all the content blocks to Raw HTML instead of Block level, but the divs are still appearing. Is this the correct behaviour?
What's the id of the DIV? Copy it, search for it in /admin and you'll find where it's being produced from.
Nope, this should not be happening. What version are you using? I have never seen this happen when the settings are correctly changed. Did you make sure to turn your type formats to raw html as well?
To track down this problem, view the code and see the id that the divs are getting. Then, search for that id in your system. Once you find it, it will probably be a div content area, just check that to make sure that it correctly has the settings to raw html.
If your content type and presentation is set to RAW HTML you shouldn't see any divs, apart from the ones you set in parse file.
Yeah, don't forget the 2nd option. Like Ryan said there is content type (wysiwyg etc), and presentation (raw html = no div, block level = div tags, inline = span tags).
Thanks for the tips guys. The effect was caused by the application of a new paint layout up the chain. This is where the stray divs were coming from. I was setting these options on the asset listing itself but I needed to apply raw html on the paint layout instead.