Escape double quotes for the subject field.

Fix HTML generation when the subject field contains double quotes.

Closes-Bug: #1393023
Change-Id: Ia948d80e04ee838ad0ffd1a9cdc0ca2ef4add4c3
This commit is contained in:
Eduardo Costa 2014-11-15 21:10:13 -02:00
parent 3a8839bf3a
commit ae41c0124f
1 changed files with 4 additions and 2 deletions

View File

@ -100,9 +100,11 @@
12
</span>
<img src="${mp.cause.replace(' ', '').upper()}.png" title="$mp.cause"/>
<a href="$mp.url" title="$mp.subject">
$mp.subject[:60]
#filter WebSafe
<a href="$mp.url" title="${mp.subject, also='"'}">
${mp.subject[:60], also='"'}
</a>
#end filter
</td>
<!--
<td>