blob: c230105a5a4434f639148b6e0c713713f6f9e3e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<com:TContent ID="body">
<h1>TSafeHtml Samples</h1>
<table class="sampletable">
<tr><td class="samplenote">
Safeguard a static string:
</td><td class="sampleaction">
<com:TSafeHtml>
<a href="javascript:alert();">javascript link stripped</a>
</com:TSafeHtml>
</td></tr>
<tr><td class="samplenote">
Safeguard the control rendering results:
</td><td class="sampleaction">
<com:TSafeHtml>
<com:TLiteral Text="<a>a nonclosing tag" />
</com:TSafeHtml>
</td></tr>
</table>
<div class="last-modified">$Id$</div></com:TContent>
|