This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8521 - Empty line added after 1st save in session
Summary: Empty line added after 1st save in session
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: (X)HTML (show other bugs)
Version: 11.3.1
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: lcarcone
QA Contact: lcarcone
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 14:51 UTC by chris cheney
Modified: 2015-06-20 16:35 UTC (History)
5 users (show)

See Also:


Attachments

Description chris cheney 2009-12-18 14:51:56 UTC
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <title>Doubling empty lines</title>
  <style type="text/css">
<!--
body {background-color: #ffffc8; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 90%;}
-->
  </style>
</head>

<body>
Hello World!
</body>
</html>

1) Load the above from a .html file into Amaya. 
2) Views | Split view horizontally
3) In the WYSIWYG pane make some change to the text.
4) File | Save (or Save as)

An empty line will appear between the --> and </style> and will be in the saved file.

5) File | Close tab

Now repeat from (1) ... and another empty line will be added. Adding an empty line is no big deal but when the number of empty lines reaches say 50 ...
Comment 1 Jackie 2015-06-20 16:34:36 UTC
Please make my changes
Comment 2 Jackie 2015-06-20 16:35:24 UTC
Please make my changes