Open Bug 1214005 Opened 9 years ago Updated 3 years ago

div removed, breaks site

Categories

(SeaMonkey :: Composer, defect)

SeaMonkey 2.0 Branch
Unspecified
All
defect
Not set
normal

Tracking

(seamonkey2.38 affected)

Tracking Status
seamonkey2.38 --- affected

People

(Reporter: alysion, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

Steps to reproduce:

Disqus supplied code includes: <div id="disqus_thread"></div>

If I go to <html> Source view and make any change to code, then on saving or returning to browser view the line is deleted, which breaks the widget if published. The div is empty but essential. I can only edit in browser mode and can't edit html directly without breaking site. Using Linux Mint.


Actual results:

Published, the Disqus functionality is lost.


Expected results:

The div should not be deleted, my code should not be cleaned up for me.
Attached file Sample document
Effect is  REPRODUCIBLE with  en-US (German language pack) SeaMonkey 2.38  (Windows NT 6.1; WOW64; rv:41.0)  Gecko/20100101 Firefox/41.0 Build 20150923195647  (Classic Theme) on German WIN7 64bit
<https://validator.w3.org/> rateing for attached sample document: "This document was successfully checked as HTML 4.01 Transitional!"
So probably a real bug. 


Steps how to reproduce:
1. Open attached test document in (HTML document) Composer
2. Switch to HTMML source tab
   » source code appears
3. Change  <title>test</title>  
   to       <title>test1</title>
4. Switch to preview tab and back to source tab
   Bug: code line "<div id="disqus_thread"></div>" deleted

I will do some additional investigation
Attachment #8673077 - Attachment description: test1.htmlSample document → Sample document
Not a new problem, already reproducible with SeaMonkey 2.0

I did not find a DUP with <https://bugzilla.mozilla.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs1214005&sharer_id=41036>
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Version: SeaMonkey 2.38 Branch → SeaMonkey 2.0 Branch
You need to log in before you can comment on or make changes to this bug.