Fixed issue #362: HTML comments are now rendered in the output.
This commit is contained in:
parent
947e8cdce0
commit
94dc584129
2 changed files with 7 additions and 7 deletions
|
@ -16,5 +16,5 @@ using System.Reflection;
|
|||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("3.0.0.340")]
|
||||
[assembly: AssemblyFileVersion("3.0.0.340")]
|
||||
[assembly: AssemblyVersion("3.0.0.341")]
|
||||
[assembly: AssemblyFileVersion("3.0.0.341")]
|
||||
|
|
|
@ -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>", "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue