workoutetc / google-sites-liberation

Automatically exported from code.google.com/p/google-sites-liberation
0 stars 0 forks source link

Embedded html (HTML box) disappears after export and re-import #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a Sites page with embedded HTML using Insert -> HTML Box -> put some 
html in there. In my case, the test html source was:

<pre>
  don't
      change
          the look
             of this
  &lt;because&gt; // i said // so
  $$$ <<<>>> //\\ ###
  ### dmehra
</pre>

  <hr>
  <b>bold text</b>  <u>underlined text</u>
  <hr>

2. Export Sites using google-sites-liberation tool. I used it via GuiMain 1.0 
(by launching google-sites-liberation-1.0.4.jar).

3. Import right back. 

What is the expected output? 

See all the pages including the one with embedded html.

What do you see instead?

Instead of HTML Box displaying my HTML, there is an empty space the size of 
html box. 

What version of the product are you using? On what operating system?

OS X 10.8.5, Chrome version 29.0.1547.76, google-sites-liberation-1.0.4.jar

Please provide any additional information below.

I'm not supplying my Sites page since it had confidential information, but this 
should be easy to recreate.
The html source of the resulting page, in place of the HTML Box, has the 
following:

<div><br>
</div>
<div>
<div></div>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>

Original issue reported on code.google.com by daria.me...@gmail.com on 24 Sep 2013 at 10:41