We received the following error info after inserting some HTML:
The error description is as follows : Input string was not in a correct format.
Method: Double ParseDouble(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
Client Browser: IE 6.0
Client Url: https://www.scoreandreport.com/rptpreviewdl.aspx
Client IP: 172.129.218.34
Stack: at System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s, NumberStyles style, IFormatProvider provider)
at ?.?.?(String ?)
at ?.?.set_?(String ?)
at ?.?.set_?(String ?)
at ?.?.?(String ?, ParagraphFormat ?)
at ?.?.?(? ?)
at ?.?.?(? ?, Boolean ?)
at ?.?.?(? ?, Boolean ?)
at ?.?.?(? ?, Boolean ?)
at ?.?.ProcessNode(? node)
at ?.?.ProcessNode(? node)
at ?.?.?(? ?)
at Aspose.Word.DocumentBuilder.InsertHtml(String html)
The HTML that caused the error:
<br /><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Caiden A. is a 15 month old, male child who lives with his biological mother and father. </p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Caiden’s father, Mr. A, is 33 years old and employed as a training manager for a chiropractic company.<span style=\"mso-spacerun: yes\">  </span>His mother, Mrs. A, is a registered nurse who is employed by a Legal firm which deals in medical malpractice.<span style=\"mso-spacerun: yes\">  </span></p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt; tab-stops: 111.75pt\"><span style=\"mso-tab-count: 1\">                                     </span></p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Caiden’s father has a son from a previous marriage, Julian, who is 16 years old.<span style=\"mso-spacerun: yes\">  </span>Julian is currently living at a boarding school in <?xml :namespace prefix=st1 ns=\"urn:schemas-microsoft-com:office:smarttags\" /?><st1:state xmlns:st1=\"<a target="_blank" title="" href=""><st1:place>Oregon</st1:place></st1:state'>http://unknownprefix/st1\"><st1:place>Oregon</st1:place></st1:state</a>> and only comes home during holidays, at which time he stays part-time with his biological father and part-time with his biological mother who lives nearby.<span style=\"mso-spacerun: yes\">  </span>This is Caiden’s only sibling.</p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"><?xml :namespace prefix=o ns=\"urn:schemas-microsoft-com:office:office\" /?> </p><p'>http://unknownprefix/o\"> </p><p</a> class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">According to Mrs. A, this was a planned pregnancy and was her first.<span style=\"mso-spacerun: yes\">  </span>There were no complications during the pregnancy with the exception of the development of gestational diabetes, which was controlled by diet and exercise. Mrs. A reports she was taking thyroid medication for a hypothyroid condition during the pregnancy as instructed by her physician.<span style=\"mso-spacerun: yes\">  </span>The only complication related to the birth was a failure to dilate which required Pitocin, a medication which aids in dilation and contraction.<span style=\"mso-spacerun: yes\">  </span>The medication failed to work and the baby was then physically extracted by a midwife.<span style=\"mso-spacerun: yes\">  </span>Labor was 36 hours.</p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">At the time of this observation Caiden weighed 23lbs and was 29 inches long.<b style=\"mso-bidi-font-weight: normal\"></b></p><p'>http://unknownprefix/o\"></b></p><p</a> class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">No physical abnormalities were observed and his mother reports that he has met all developmental milestones so far.</p><p'>http://unknownprefix/o\"></p><p</a> class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"><b style=\"mso-bidi-font-weight: normal\"> </b></p'>http://unknownprefix/o\"> </b></p</a>><br /><br /><strong>However, this similar HTML worked fine:<br /></strong><p class=\"\">Caiden A. is a 15 month old, male child who lives with his biological mother and father. </p><p class=\"\">Caiden’s father, Mr. A, is 33 years old and employed as a training manager for a chiropractic company.  His mother, Mrs. A, is a registered nurse who is employed by a Legal firm which deals in medical malpractice.  </p><p class=\"\">Caiden’s father has a son from a previous marriage, Julian, who is 16 years old.  Julian is currently living at a boarding school in <?xml :namespace prefix=st1 ns=\"urn:schemas-microsoft-com:office:smarttags\" /?><st1:state class=\"\" st1=\"<a target="_blank" title="http://unknownprefix/st1\" href="http://unknownprefix/st1\">http://unknownprefix/st1\</a>" xmlns:st1=\"<a target="_blank" title="" href=""><st1:place'>http://unknownprefix/st1\"><st1:place</a> class=\"\">Oregon</st1:place></st1:state> and only comes home during holidays, at which time he stays part-time with his biological father and part-time with his biological mother who lives nearby.  This is Caiden’s only sibling.</p><p class=\"\"><?xml :namespace prefix=o ns=\"urn:schemas-microsoft-com:office:office\" /?>http://unknownprefix/o\</a>" xmlns:o=\"<a target="_blank" title="" href=""> According'>http://unknownprefix/o\"> According</a> to Mrs. A, this was a planned pregnancy and was her first.  There were no complications during the pregnancy with the exception of the development of gestational diabetes, which was controlled by diet and exercise. Mrs. A reports she was taking thyroid medication for a hypothyroid condition during the pregnancy as instructed by her physician.  The only complication related to the birth was a failure to dilate which required Pitocin, a medication which aids in dilation and contraction.  The medication failed to work and the baby was then physically extracted by a midwife.  Labor was 36 hours.</p><p class=\"\">At the time of this observation Caiden weighed 23lbs and was 29 inches long.http://unknownprefix/o\</a>" xmlns:o=\"<a target="_blank" title="" href=""></p><p'>http://unknownprefix/o\"></p><p</a> class=\"\">No physical abnormalities were observed and his mother reports that he has met all developmental milestones so far.http://unknownprefix/o\</a>" xmlns:o=\"<a target="_blank" title="" href=""> </p'>http://unknownprefix/o\"> </p</a>><br /><br /><strong>I think it has to do with the style margins?</strong><br /></font></p>