-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry about that problem. This patch should fix the closing of tags. That
was just an oversight on my part. However, the lack of <p> tags is
intentional, and is in fact the point of the patch. This was, HTML
displays the same way as the original document in AbiWord.
sam th
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE4pNBet+kM0Mq9M/wRAl9SAJ4vvzTFyOC7TSB0H/UGOVnjmVwAxgCfRPRo
OUaeGyEIs/EDO+BL3FMeNVg=
=1e2Q
-----END PGP SIGNATURE-----
Index: ie_exp_HTML.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_exp_HTML.cpp,v
retrieving revision 1.19
diff -u -r1.19 ie_exp_HTML.cpp
--- ie_exp_HTML.cpp 2000/02/11 04:31:54 1.19
+++ ie_exp_HTML.cpp 2000/02/12 03:10:45
@@ -215,6 +215,7 @@
m_iBlockType = BT_HEADING1;
m_pie->write("<h1");
+ wasWritten = UT_TRUE;
}
else if(0 == UT_stricmp(szValue, "Heading 2"))
{
@@ -223,6 +224,8 @@
m_iBlockType = BT_HEADING2;
m_pie->write("<h2");
+ wasWritten = UT_TRUE;
+
}
else if(0 == UT_stricmp(szValue, "Heading 3"))
{
@@ -231,6 +234,8 @@
m_iBlockType = BT_HEADING3;
m_pie->write("<h3");
+ wasWritten = UT_TRUE;
+
}
else if(0 == UT_stricmp(szValue, "Block Text"))
{
@@ -238,6 +243,8 @@
m_iBlockType = BT_BLOCKTEXT;
m_pie->write("<blockquote");
+ wasWritten = UT_TRUE;
+
}
else if(0 == UT_stricmp(szValue, "Plain Text"))
{
@@ -245,6 +252,7 @@
m_iBlockType = BT_PLAINTEXT;
m_pie->write("<pre");
+ wasWritten = UT_TRUE;
}
else
{