Closed Bug 596936 Opened 14 years ago Closed 14 years ago

Paste of html code removes moz-do-not-send tag in img

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 596797

People

(Reporter: wamsler, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3

We use a script to generate html email. The images should not be embedded in the mail, so we use the moz-do-not-send tag e.g. <img moz-do-not-send="true" src="http://www.mozilla.org/images/home/projects/thunderbird.png">. If we paste the code in the message compose window, the tag moz-do-not-send is removed, also by the use of Insert -> HTML feature. In Thunderbird 2 the insert works great.

Reproducible: Always

Steps to Reproduce:
1. Compose a new mail
2. Insert -> HTML
3. Paste <img moz-do-not-send="true" src="http://www.mozilla.org/images/home/projects/thunderbird.png"> and click Insert.
4. Save it as a draft
Actual Results:  
View the source of the draft and you will see thunderbird was trying to embed the image as CID, because the moz-do-not-send tag is removed while paste.

Expected Results:  
Thunderbird should not remove the moz-do-not-send tag
This is the same background issue as bug 596797
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.