Fixed issue #362: HTML comments are now rendered in the output.

This commit is contained in:
Dario Solera 2009-10-07 12:19:49 +00:00
parent 947e8cdce0
commit 94dc584129
2 changed files with 7 additions and 7 deletions

View file

@ -151,11 +151,11 @@ namespace ScrewTurn.Wiki {
}
// Strip out all comments
match = CommentRegex.Match(sb.ToString());
while(match.Success) {
sb.Remove(match.Index, match.Length);
match = CommentRegex.Match(sb.ToString(), match.Index + 1);
}
//match = CommentRegex.Match(sb.ToString());
//while(match.Success) {
// sb.Remove(match.Index, match.Length);
// match = CommentRegex.Match(sb.ToString(), match.Index + 1);
//}
// Remove empty NoWiki and NoBr tags
sb.Replace("<nowiki></nowiki>", "");