I created a node to allow HTML for embedded objects (not the embedded media field, because I don't want to limit embedded media to just the provider list) and I'm able to embed media from any website (just how I want) but when I do so
tags are added around the object.
I think the problem is that the linebreak automatically adds
tags. I could turn this off, but that would effect all nodes, not just this specific instance. I also can't do much with the HTML/filters because if that is removed then just plain text is displayed.
I don't want the
tags because it adds extra margins to the embedded object. Is there any type of work around for this? I guess I could try fixing this with CSS so that the display matches the rest of the content, but I'd rather just remove the
tags.
Any suggestions? Thanks!
Comments
Oops, I didn't enclose the
Oops, I didn't enclose the
<p>with the code tag, so it created a bunch of new paragraphs. I've edited the original post below.EDIT:
I created a node to allow HTML for embedded objects (not the embedded media field, because I don't want to limit embedded media to just the provider list) and I'm able to embed media from any website (just how I want) but when I do so
<p>tags are added around the object.I think the problem is that the linebreak automatically adds
<p>tags. I could turn this off, but that would effect all nodes, not just this specific instance. I also can't do much with the HTML/filters because if that is removed then just plain text is displayed.I don't want the
<p>tags because it adds extra margins to the embedded object. Is there any type of work around for this? I guess I could try fixing this with CSS so that the display matches the rest of the content, but I'd rather just remove the<p>tags.Any suggestions? Thanks!
subscribe
subscribe