Image and HREF tags are trimmed at beginning
ShaneOnABike - October 9, 2008 - 23:50
| Project: | Mime Mail |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
Hey guys,
I just used the Mime Mail and noticed that the image and href tags are being trimmed.
A tag that should be <a href=""> becomes href=""> and the same goes for image tags.
I've included some tags that I had inline with my newsletter posting and the result:
Newsletter Original
<a href="http://www.flickr.com/photos/makesomenoise/2766900275/" title="Make Some Noise, on Flickr"><img height="180" width="240" alt="" src="http://farm4.static.flickr.com/3015/2766900275_61f60ccdcc_m.jpg" title="Photo from NT" />Result:
href="http://www.flickr.com/photos/makesomenoise/2766900275/"> height="180"
width="240" title="Photo from NT"
src="http://farm4.static.flickr.com/3015/2766900275_61f60ccdcc_m.jpg" alt=""
/>
#1
#2
I've been seeing the same problem with the a href difficulty, although the first time I sent a message the unsubscribe link appeared properly at the end of my Simplenews newsletter.
I managed to get img to go properly by removing all modifiers leaving only img src="http://my/image/link.htm"
#3
I'm getting the same thing. Does anyone know why?
#4
I tried creating a filter that didn't actually filter anything, but then I only got "n/a" in my newsletter. The replacement tokens such as "!uri" and "!uri_brief" work fine, but the unsubscribe link gets mutilated.
#5
same here
just installed simple news and when the email newsletter is sent with images it the image tag is missing a "< img at the start
and no image is displayed in the email
#6
Subscribing - just faced with same behaviour. Error reproducion:
1. Create newsletter node
2. Add image via Fckeditor + IMCE
After some tests found the way to send images by manually editing html output.
FCKeditor and IMCE produces image inserting code as follow:
<img alt="" width="" height="" src="">Delete alt="" width="" height="" attributes, and you will be able to send properly formed email with embedded image inside.
#7
Same issue here.
I tried Yur's image solution, and that worked. But I can't get links to work. I hope this will be fixed soon!
#8
I did some more testing..
Links will work if you change the HTML setting to "Filtered" in the MIME settings. If you then allow
<img>tags in the global settings for HTML format, both images and links will show up in the newsletters when added with FCKEditor (I have not tested this with any other WYSIWYG module though). Not a perfect solution, but it works!/ Oscar
#9
Unable to reproduce this here with mimemail HEAD + Simplenews dev snapshot. Please grab the latest mimemail snapshot and let me know if you still have this issue.
Jer
#10
Just gave it a try on a clean install. I have the problem desribed above. Can confirm that #6 and #8 worked as work-arounds.
Connie
#11
How do you format links on nodes?