FireMail
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
Unwanted P tags
Support Request
Sjoerd
|
Posted: 04 April 2013 05:39 AM |
|
|
|
Firemail creates unwanted P tags:
<p> </p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"> </p>
How to get rid of these?
|
|
|
Sjoerd
|
Posted: 05 April 2013 04:11 AM |
# 1
|
|
|
This is quite urgent and obviously a bug. It occurs when using Wygwam. P tags are spread everywhere, Firemail is useless in this way. Can this be fixed? I tried all the possible solutions in this Forum, but with no succes.
|
|
|
PutYourLightsOn
|
Posted: 05 April 2013 05:21 AM |
# 2
|
|
Developer
|
what does this have to do with Wygwam?
the WYSIWYG editor uses XHTML so if you ensure that your code is valid XHTML then no tags should be added. does this happen when you import a template or just paste text?
|
|
|
Sjoerd
|
Posted: 05 April 2013 05:22 AM |
# 3
|
|
|
When importing a template: Firemail adds p tags.
|
|
|
Scott Daniel
|
Posted: 16 April 2013 11:14 PM |
# 4
|
|
|
I have the identical problem, I believe. It is easily reproduced by switching from the wysiwyg view to the source view and then back again. The leading <html>, <head> tags are removed and a bunch of unwanted tags are added around the meta tags.
|
|
|
Scott Daniel
|
Posted: 17 April 2013 05:54 PM |
# 5
|
|
|
Nothing from Ben yet.
Hmmm…...
For others that encounter this problem, I have solved it temporarily by commenting out the editor. The field changes to a standard textarea with the raw html. It’s not great for the customer, but it works and does not mung the output.
|
|
|
PutYourLightsOn
|
Posted: 19 April 2013 12:12 PM |
# 6
|
|
Developer
|
you really shouldn’t have any html or head tags in your email body. the wysiwyg editor will strip these out and add p tags to make it valid xhtml. see this post for more details.
|
|
|
IC360 (Oliver Cannell)
|
Posted: 26 April 2013 10:27 AM |
# 7
|
|
|
I’m experiencing a similar thing.
I’ve created an HTML email externally and am pasting the whole page into Firemail, in HTML Source mode.
When I switch off HTML Source mode, it looks fine in the WYSIWYG mode window, but if switch back to HTML Source mose the HTML Head tags (Title, META, etc) are wrapped with tags.
|
|
|