Index: trunk/tools/wmib/DumpHtm.cs |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | /// </summary> |
79 | 79 | /// <param name="text"></param> |
80 | 80 | /// <returns></returns> |
81 | | - public string Encode(string text) |
| 81 | + public static string Encode(string text) |
82 | 82 | { |
83 | 83 | text = text.Replace("<", "<"); |
84 | 84 | text = text.Replace(">", ">"); |
Index: trunk/tools/wmib/RClogs.cs |
— | — | @@ -93,13 +93,13 @@ |
94 | 94 | |
95 | 95 | public string ToTable() |
96 | 96 | { |
97 | | - string output = "<table>"; |
| 97 | + string output = "<table align=\"left\" border=1>\n"; |
98 | 98 | try |
99 | 99 | { |
100 | 100 | writable = false; |
101 | 101 | foreach (IWatch b in pages) |
102 | 102 | { |
103 | | - output = output + "<tr><td>" + b.Channel + "</td><td>" + b.Page + "</td></tr>\n"; |
| 103 | + output = output + "<tr><td>" + b.Channel + "</td><td>" + HtmlDump.Encode(b.Page) + "</td></tr>\n"; |
104 | 104 | } |
105 | 105 | output = output + "</table>"; |
106 | 106 | writable = true; |