Open Bug 1612333 Opened 5 years ago Updated 2 years ago

Fork nsIDocumentEncoder to comm-central

Categories

(MailNews Core :: Composition, task)

Tracking

(Not tracked)

People

(Reporter: jorgk-bmo, Unassigned)

References

(Blocks 1 open bug)

Details

M-C want to rewrite the HTML and plaintext serialisers to suit their needs dropping "pretty printing" (nsIDocumentEncoder::OutputFormatted) from the HTML serialiser and format=flowed (nsIDocumentEncoder::OutputFormatFlowed) and delsp=yes (nsIDocumentEncoder::OutputFormatDelSp) from the plaintext serialiser.

We should fork it into C-C to maintain this functionality. We may stop "pretty printing" for HTML mail and use CTE base64. Also see bug 1612321 comment #0 for further comments.

Note that we need to adjust "glue code" as well like nsIEditor.outputToString(). We should create a serialiser API that takes a DOM node to start with.
EDIT: https://searchfox.org/comm-central/search?q=outputtostring&case=false&regexp=false&path=mail (ignore nsIMAPNamespace).

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.