~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revision.kid

  • Committer: Robey Pointer
  • Date: 2007-01-24 23:39:39 UTC
  • Revision ID: robey@lag.net-20070124233939-bqjis014115tgcb3
update website.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
                <tr py:for="line in chunk.diff" class="diff-chunk collapse-file-${util.uniq(uniqs, item.file_id)}-content">
166
166
                    <span py:if="line.old_lineno" py:strip="True">
167
167
                        <td class="lineno">${line.old_lineno}</td>
168
 
                        <td class="diff-${line.old_type}">${line.old_line}</td>
 
168
                        <td class="diff-${line.old_type}">${XML(line.old_line)}</td>
169
169
                    </span>
170
170
                    <span py:if="not line.old_lineno" py:strip="True">
171
171
                        <td class="lineno-skip">${line.old_lineno}</td>
172
 
                        <td class="diff-${line.old_type}-skip">${line.old_line}</td>
 
172
                        <td class="diff-${line.old_type}-skip">${XML(line.old_line)}</td>
173
173
                    </span>
174
174
                    <span py:if="line.new_lineno" py:strip="True">
175
175
                        <td py:if="line.new_lineno" class="lineno">${line.new_lineno}</td>
176
 
                        <td class="diff-${line.new_type}">${line.new_line}</td>
 
176
                        <td class="diff-${line.new_type}">${XML(line.new_line)}</td>
177
177
                    </span>
178
178
                    <span py:if="not line.new_lineno" py:strip="True">
179
179
                        <td py:if="not line.new_lineno" class="lineno-skip">${line.new_lineno}</td>
180
 
                        <td class="diff-${line.new_type}-skip">${line.new_line}</td>
 
180
                        <td class="diff-${line.new_type}-skip">${XML(line.new_line)}</td>
181
181
                    </span>
182
182
                </tr>
183
183
                <tr class="diff-chunk-spacing collapse-file-${util.uniq(uniqs, item.file_id)}-content"> <td colspan="4"> &nbsp; </td> </tr>
199
199
                    <tr py:for="line in chunk.diff" class="diff-chunk collapse-file-${util.uniq(uniqs, item.file_id)}-content">
200
200
                        <td class="lineno">${line.old_lineno}</td>
201
201
                        <td class="lineno">${line.new_lineno}</td>
202
 
                        <td class="diff-${line.type} text">${line.line}</td>
 
202
                        <td class="diff-${line.type} text">${XML(line.line)}</td>
203
203
                        <td> </td>
204
204
                    </tr>
205
205
                    <tr class="diff-chunk-spacing collapse-file-${util.uniq(uniqs, item.file_id)}-content"> <td colspan="4"> &nbsp; </td> </tr>