PDA

View Full Version : How to use V9 HTML ouput in V10 ?


Unregistered
December 4, 2002, 22:51:37
We are building a Web site that is maintained via a Textcontrol backend and we rely on clean HTML output.

Version 9 would spit out nice and clean HTML. Version 10 breaks it up.

In the following examples you will see that by loading the V10 HTML, the CRLF don't work and that the "bold" single word in broken in three parts.

If I would type in the three phrases below in the V9 demo document and save as HTML I would have well formatted HTML. The "Averylongwordwithboldinthemiddle" has the bold substring in bold.

---------------------------------
This is a very simple document.

The is the second paragraph.

Averylongwordwithboldinthemiddle.
---------------------------------

------------ V9 HTML output ---------------------
<html>
<head>
<!-- written by TX_HTML32 9.0.141.501 -->
<title></title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF">
<font size="4" style="font-family:'Arial';font-size:12pt;">This is a very simple document.<p>
The is the second paragraph.<p>
Averylongwordwith<b>bold</b>inthemiddle.</font></body>
</html>
---------------------------------


------V10.net output-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HEAD>
<META content="TX_HTML32 10.0.200.501" name=GENERATOR>
<TITLE></TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF">
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:10pt;">This is a very simple document. </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:10pt;"> </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:10pt;">The is the second paragraph. </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:10pt;"> </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:10pt;">Averylongwordwith </SPAN>
<SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:10pt;"><B>bold</B> </SPAN>
<SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:10pt;">inthemiddle. </SPAN> </P></BODY>

----------------------------------------


This message was originally posted by Dimitri Kampouris in the old TX Text Control Support Forum.