| I took a stab at trimming the length of values in the exception report,
| but my first attempt failed. The problem is that a value could be a
| long HTML string with <table><tr><td> tags (for say, a dictionary).
| Cutting out a peice of the middle or end of that results in fragmented
| HTML and screws up the page.

You could slice it with [:50] or whatever and then htmlEncode() each value.

Then you'd get &lt;table&gt;&lt;tr&gt;&lt;td&gt; etc. In your report, which
should be viewable just fine. Of course, if it's not ending up in an mhtml
mail or a webpage (the standard mail) you've got fugly output.


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to