Nawoj
關於我
| 名稱 | Nawoj |
|---|---|
| 加入日期 | June 1, 2017 |
| 參與開發的附加元件數量 | 0 個附加元件 |
| 此開發者的附加元件平均分數 | 未經評分 |
我所發表的評論
Thunderbird Conversations
評分: 3 / 5 顆星
Hello,
I am a big fan of the Thunderbird Conversations add-on, but I've encountered a recurring rendering issue with complex marketing emails.
The Problem:
Simple HTML emails (e.g., standard multipart/related emails using basic inline-styled tables) render perfectly fine in the conversation view. However, complex multipart/alternative marketing emails generated by platforms like HubSpot often render completely blank or invisible.
Technical Details & Root Cause:
After inspecting the raw source of the failing emails, the issue seems to stem from how the add-on's HTML sanitizer/parser handles specific hidden preheader elements and deep div nesting.
Aggressive Preheader Hiding: The failing emails typically start with a hidden preview text block right after the <body> tag, formatted like this:
<div id="preview_text" style="display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;" lang="en">...</div>
Deep Nesting (hs_cos_wrapper): The main content is deeply nested within multiple wrapper divs.
It appears that during the extraction and cleaning of the HTML body, the Conversations add-on either chokes on the heavy nesting or, more likely, the aggressive hiding styles (display: none, max-height: 0px, opacity: 0) from the preheader bleed into the parent container or sibling elements. This causes the main content body to inherit a zero-height or hidden state, making the email appear blank in the conversation thread.
Suggested Fix:
Could you please review the HTML sanitization logic? Specifically:
Ensure that inline CSS intended to strictly hide preview text (like display: none or max-height: 0) does not cascade or get mistakenly applied to the main wrapper/DOM tree during rendering.
Verify that the parser doesn't break or drop the DOM structure when encountering heavy wrapper nesting (e.g., <div class="hs_cos_wrapper"> layers) after stripping external <style> blocks.
Thank you for your hard work on this amazing add-on! Let me know if you need full raw .eml samples for debugging.
Stationery
評分: 4 / 5 顆星
It does not work with version 60.x. When will it be fixed?
此意見為舊版本 (0.9.0.2) 的附加元件。如果您要新增自己的收藏集,你必須先申請一個 Mozilla 附加元件的帳號。