Clean-up example

If you paste in text fro Microsft Word or other Office sotware, you cne end up with some very messy and verbose HTML.

Using the Clean button in whizzywig we turned this code:

<P Normal style="margin: 0cm 0cm 0pt"><strong><FONT color=#666666><FONT face=Arial>Reference Group Meetings<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></strong></P>
<P Normal style="margin: 0cm 0cm 0pt"><SPAN style="font-size: 10pt"><FONT color=#666666><FONT face=Arial>&nbsp;<o:p></o:p></FONT></FONT></SPAN></P>
<TABLE style="border-right: medium none; border-top: medium none; margin-left: -1.7pt; border-left: medium none; border-bottom: medium none; border-collapse: collapse; mso-border-alt: solid gray .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: gray 0.5pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: gray 0.5pt solid; width: 113.45pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent" vAlign=top width=151>
<P Normal style="margin: 0cm 0cm 0pt; text-align: center; mso-layout-grid-align: none" align=center><B style="mso-bidi-font-weight: normal"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>Date<o:p></o:p></FONT></FONT></SPAN></strong></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: gray 0.5pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 106.3pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt" vAlign=top width=142>
<P Normal style="margin: 0cm 0cm 0pt; text-align: center; mso-layout-grid-align: none" align=center><B style="mso-bidi-font-weight: normal"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>Time<o:p></o:p></FONT></FONT></SPAN></strong></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: gray 0.5pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 219.35pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt" vAlign=top width=292>
<P Normal style="margin: 0cm 0cm 0pt; text-align: center; mso-layout-grid-align: none" align=center><B style="mso-bidi-font-weight: normal"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>Location<o:p></o:p></FONT></FONT></SPAN></strong></P></TD></TR>
<TR>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: gray 0.5pt solid; width: 113.45pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-top-alt: solid gray .5pt" vAlign=top width=151>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>23 May 2006<o:p></o:p></FONT></FONT></SPAN></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 106.3pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt; mso-border-top-alt: solid gray .5pt" vAlign=top width=142>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT color=#666666><FONT face=Arial><SPAN style="font-size: 9pt">3</SPAN><SPAN style="mso-bidi-font-size: 9.0pt">.00 </SPAN><SPAN style="font-size: 9pt">pm<o:p></o:p></SPAN></FONT></FONT></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 219.35pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt; mso-border-top-alt: solid gray .5pt" vAlign=top width=292>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>Seminar Room, Building 2<o:p></o:p></FONT></FONT></SPAN></P></TD></TR>
<TR>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: gray 0.5pt solid; width: 113.45pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-top-alt: solid gray .5pt" vAlign=top width=151>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>15 June 2006<o:p></o:p></FONT></FONT></SPAN></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 106.3pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt; mso-border-top-alt: solid gray .5pt" vAlign=top width=142>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT color=#666666><FONT face=Arial><SPAN style="font-size: 9pt">2</SPAN><SPAN style="mso-bidi-font-size: 9.0pt">.00 </SPAN><SPAN style="font-size: 9pt">pm<o:p></o:p></SPAN></FONT></FONT></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 219.35pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt; mso-border-top-alt: solid gray .5pt" vAlign=top width=292>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>Conference Room A, Building 3<o:p></o:p></FONT></FONT></SPAN></P></TD></TR>
<TR>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: gray 0.5pt solid; width: 113.45pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-top-alt: solid gray .5pt" vAlign=top width=151>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>18 July 2006<o:p></o:p></FONT></FONT></SPAN></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 106.3pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt; mso-border-top-alt: solid gray .5pt" vAlign=top width=142>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT color=#666666><FONT face=Arial><SPAN style="font-size: 9pt">2</SPAN><SPAN style="mso-bidi-font-size: 9.0pt">.00 </SPAN><SPAN style="font-size: 9pt">pm<o:p></o:p></SPAN></FONT></FONT></P></TD>
<TD style="border-right: gray 0.5pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #ece9d8; width: 219.35pt; padding-top: 0cm; border-bottom: gray 0.5pt solid; background-color: transparent; mso-border-left-alt: solid gray .5pt; mso-border-top-alt: solid gray .5pt" vAlign=top width=292>
<P Normal style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN style="font-size: 9pt"><FONT color=#666666><FONT face=Arial>Conference Room B, Building 3<o:p></o:p></FONT></FONT></SPAN></P></TD></TR></TBODY></TABLE>
<P Normal style="margin: 0cm 0cm 0pt"><SPAN style="font-size: 10pt"><FONT color=#666666><FONT face=Arial>&nbsp;<o:p></o:p></FONT></FONT></SPAN></P>

into this code:

<strong>Reference Group Meetings</strong>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD vAlign=top><strong>Date</strong> </TD>
<TD vAlign=top><strong>Time</strong> </TD>
<TD vAlign=top><strong>Location</strong> </TD></TR>
<TR>
<TD vAlign=top>23 May 2006 </TD>
<TD vAlign=top>3.00 pm </TD>
<TD vAlign=top>Seminar Room </TD></TR>
<TR>
<TD vAlign=top>15 June 2006 </TD>
<TD vAlign=top>2.00 pm </TD>
<TD vAlign=top>Conference Room A </TD></TR>
<TR>
<TD vAlign=top>18 July 2006 </TD>
<TD vAlign=top>2.00 pm </TD>
<TD vAlign=top>Conference Room B </TD></TR></TBODY></TABLE>