Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support deleting / replacing text in text of inline forwarded mail #172

Closed
RealRaven2000 opened this issue Feb 21, 2022 · 2 comments
Closed
Assignees

Comments

@RealRaven2000
Copy link
Owner

RealRaven2000 commented Feb 21, 2022

Expand the functions %deleteQuotedText()% and %replaceQuotedText()% to be used on the body of a forwarded Email. This should work when the template is applied while forwarding an Email inline. To show that the quoted text should be affected and make the change backwards compatible, the quoteLevel parameter should be explicitly set to 0

Should also be able to support the functions %deleteQuotedTags()% and %replaceQuotedTags()%.

Usage examples:

%deleteQuotedText("multiple",0)%
%replaceQuotedText("Daily","nightly",0)%
%deleteQuotedTags("div.helter",0)%
%replaceQuotedTags("div.skelter","<p>you're welcome!</p>",0)%
@RealRaven2000
Copy link
Owner Author

RealRaven2000 commented Feb 21, 2022

Here is a test version:

smartTemplate-fx-3.11pre6.zip

To install, download the zip file and then drag it into Thunderbird Add-ons manager (don't unpack contents).

@RealRaven2000
Copy link
Owner Author

Implemented in v 3.11 published on 18/03/2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant