Problem with HTML comments containing TABLE
Hi
I'm using completely rewritten SvnGeminiCommenter , using svn command line client (instead of svnlook), --xml output and external xslt template to generate gemini comment. It works fine and comments looks good .....until i post it to Gemini
My HTML comment source looks like this: (pitty this forum has no <code> tag ):
<table cellpadding="3" cellspacing="0" style="border: #dcdcdc 1px solid; font-family: verdana, arial, helvetica; font-size: x-small; color: #000000;">
<tr style="padding-left: 5px; background: #d7eefd; border-color: #a4dafc;">
<td colspan="2" style="white-space: nowrap;">
Commited at 06.11.2006 08:46:31 GMT by user <b>Liwoj</b> to repository <a href="https://svn.mediaresearch.cz:444/svn/PoolingUpdates">
PoolingUpdates</a> as revision <b>144</b></td>
</tr>
<tr>
<td valign="top" style="font-weight: bold">
Comment:</td>
<td style="white-space: nowrap;">
Issue #421<br />
- posledni krok ve zmene univers CT4 a CT24<br />
- zmena vazicich univers pro "prijem kabelu nebo satelitu"</td>
</tr>
<tr>
<td valign="top" style="font-weight: bold">
Files:</td>
<td style="white-space: nowrap;">
<a href="http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-3-sect-4.3.1">A</a> <a
href="https://svn.mediaresearch.cz:444/svn/PoolingUpdates/20061106NEWUNIVERSECTx4/01NewuniverseCT.sql">/20061106NEWUNIVERSECTx4/01NewuniverseCT.sql</a><br>
<a href="http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-3-sect-4.3.1">A</a> <a
href="https://svn.mediaresearch.cz:444/svn/PoolingUpdates/20061106NEWUNIVERSECTx4">/20061106NEWUNIVERSECTx4</a><br>
<a href="http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-3-sect-4.3.1">A</a> <a
href="https://svn.mediaresearch.cz:444/svn/PoolingUpdates/20061106NEWUNIVERSECTx4/PodkladCT424.xls">/20061106NEWUNIVERSECTx4/PodkladCT424.xls</a><br>
<a href="http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-3-sect-4.3.1">A</a> <a
href="https://svn.mediaresearch.cz:444/svn/PoolingUpdates/20061106NEWUNIVERSECTx4/02NewuniverseCABLESAT.sql">/20061106NEWUNIVERSECTx4/02NewuniverseCABLESAT.sql</a><br>
</td>
</tr>
</table>
<sub>* this comment was automatically created by Subversion post-commit hook SvnGeminiCommenter,
Copyright © Mediaresearch 2006</sub>
Few problems:
1) svn commit comment text contains <BR> tags to break line (i do replace \r\n for <br> inside xslt). But when i post it to gemini, these <br> tags are removed from comment making the comment text one line text :-(( This behavior seems little inconsistent because <br> tags in the cell containing file names and links are not replaced.... (i am looking directly to database )
2) This comment rendered in issue detail page shows some characters before the actual table. These characters are from style attribute of the table. Rendered is everything from COLOR attribute to the end of line. Removing COLOR attribute from STYLE fix this woe.....
3) This comment rendered to email alert is another story..... <p> tags everywhere, completely destroing my formating... :((
Please help ! Any rules, advice to this issues ?
Thanx
Michal
|
michal.levy
· 1 |
|
| Sunday, November 12, 2006, 9:55:12 AM | |




