Images placed in content body with relative urls are not converted, so they show up broken in messages.
How to address this?
Thanks
Images placed in content body with relative urls are not converted, so they show up broken in messages.
How to address this?
Thanks
Comments
Comment #1
jvieille commentedUpdate:
Node related path are correctly converted to absolute paths: Only images get broken.
For example, this link:
<img alt="" src="/sites/see.shareontheweb.com/files/editorimages/confrege2012.jpg" style="width: 601px; height: 326px; " />is rendered in both preview (which makes it ok) and message (which makes in broken) like this:
<img alt="" src="/sites/see.shareontheweb.com/files/editorimages/confrege2012.jpg" />Comment #2
jonlibrary commentedYou may be able to use the pathologic module to ensure the paths used in your nodes are absolute. The pathologic page includes links to similar modules.
Comment #3
Mike Wacker commentedhttp://drupalcode.org/project/sunmailer.git/commit/8fe29c1
Taking a dependency seems like overkill this problem. I updated the regex to capture this particular link.
Comment #4
Mike Wacker commentedCopy-and-paste error in the last commit, fixed with http://drupalcode.org/project/sunmailer.git/commit/ed7dd24
Comment #6
Mike Wacker commentedRe-opening to port this patch back to 6.x-1.x-dev