Closed Bug 146469 Opened 24 years ago Closed 24 years ago

Composer munges HTML source code

Categories

(SeaMonkey :: Composer, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 101917

People

(Reporter: patrick, Assigned: Brade)

Details

Even with the Composer Preferences set to "Retain original source formatting", Composer rewrites the HTML source code of an existing HTML document or one created from scratch. In particular, it appears impossible to include PHP tags using the Source view since everything between these tags is simply deleted when saving, publishing, or even switching to the Normal view. For example, the following simple code cannot be written in the current Composer (version 1.0R2): <html> <head> <title>PHP Test</title> </head> <body> <h1>Does the following line survive?</h1> <?php print("Hello world!"); ?> </body> </html> It would be REALLY great if the "Retain original source formatting" setting really worked. Thanks!
--> brade/cmanske
Assignee: syd → brade
Not getting PHP has nothing to do with formatting (formatting is things like whitespace and newlines to make the html source more readable). We're not getting PHP tags because the parser doesn't put them in the DOM (bug 59985). Duping this to the composer bug tracking the issue, which is dependant upon the parser/dom bug. *** This bug has been marked as a duplicate of 101917 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
verified.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.