[Rt-devel] [PATCH 3.7-RTIR-RELENG 3/3] xhtml: multiple width=
attributes in MyRT
Jason Long
jlong at messiah.edu
Fri Nov 2 15:47:46 EDT 2007
RT is making XHTML that looks like this
<td class="boxcontainer" width="70%" width="70%">
That's two "width" attributes, one of which is getting unnecessarily
HTML-encoded. This patch is a possible fix.
---
html/Elements/MyRT | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
(Patch is attached)
-------------- next part --------------
diff --git a/html/Elements/MyRT b/html/Elements/MyRT
index 76dbc5d..91d24eb 100644
--- a/html/Elements/MyRT
+++ b/html/Elements/MyRT
@@ -48,7 +48,7 @@
<table border="0" width="100%">
<tr valign="top">
-<td class="boxcontainer" width="70%" <% $summary? 'width="70%"': '' %>>
+<td class="boxcontainer"<% $summary ? ' width="70%"' : '' |n%>>
% $show_cb->($_) foreach @$body;
</td>
More information about the Rt-devel
mailing list