[gnumeric] Improve html4.0 fragment export. [#769343]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Improve html4.0 fragment export. [#769343]
- Date: Thu, 4 Aug 2016 03:24:57 +0000 (UTC)
commit 4f62831b22d4bdad29d376a20b6b3df342e723bc
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Wed Aug 3 21:26:04 2016 -0600
Improve html4.0 fragment export. [#769343]
2016-08-03 Andreas J. Guelzow <aguelzow pyrshep ca>
* latexhtml.c (write_sheet): make the html4.0 fragment work like
html4.0 and validate also in an xhtml context
NEWS | 3 +++
plugins/html/ChangeLog | 5 +++++
plugins/html/html.c | 5 ++---
3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index e256923..1d17d43 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
Gnumeric 1.12.32
+Andreas:
+ * improve html4.0 fragment export. [#769343]
+
Jean:
* Fix paradox plugin build with pxlib-0.6.7. [#769319]
diff --git a/plugins/html/ChangeLog b/plugins/html/ChangeLog
index dc65f46..5363afb 100644
--- a/plugins/html/ChangeLog
+++ b/plugins/html/ChangeLog
@@ -1,3 +1,8 @@
+2016-08-03 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * latexhtml.c (write_sheet): make the html4.0 fragment work like
+ html4.0 and validate also in an xhtml context
+
2016-06-29 Morten Welinder <terra gnome org>
* Release 1.12.31
diff --git a/plugins/html/html.c b/plugins/html/html.c
index 02df6fa..58fe6f5 100644
--- a/plugins/html/html.c
+++ b/plugins/html/html.c
@@ -663,10 +663,9 @@ write_sheet (GsfOutput *output, Sheet *sheet,
switch (version) {
case HTML40:
- gsf_output_puts (output, "<p><table cellspacing=\"0\" cellpadding=\"3\">\n");
- break;
+ case HTML40F:
case XHTML:
- gsf_output_puts (output, "<p /><table cellspacing=\"0\" cellpadding=\"3\">\n");
+ gsf_output_puts (output, "<p></p><table cellspacing=\"0\" cellpadding=\"3\">\n");
break;
default:
gsf_output_puts (output, "<p><table border=\"1\">\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]