Fixed #426: HTML comments are now replaced with a space rather than removed altogether so that they do not introduce blank lines.
This commit is contained in:
parent
5cb2898572
commit
826877c72e
2 changed files with 3 additions and 2 deletions
|
@ -842,6 +842,7 @@ namespace ScrewTurn.Wiki {
|
|||
match = CommentRegex.Match(sb.ToString());
|
||||
while(match.Success) {
|
||||
sb.Remove(match.Index, match.Length);
|
||||
sb.Insert(match.Index, " "); // This prevents the creation of additional blank lines
|
||||
match = CommentRegex.Match(sb.ToString(), match.Index + 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue