Added table formattation
This commit is contained in:
parent
55b1cfcc27
commit
228acd32df
2 changed files with 59 additions and 10 deletions
|
@ -858,16 +858,14 @@ namespace ScrewTurn.Wiki {
|
|||
}
|
||||
}
|
||||
|
||||
if(!bareBones) {
|
||||
match = TableRegex.Match(sb.ToString());
|
||||
while(match.Success) {
|
||||
if(!IsNoWikied(match.Index, noWikiBegin, noWikiEnd, out end)) {
|
||||
sb.Remove(match.Index, match.Length);
|
||||
sb.Insert(match.Index, BuildTable(match.Value));
|
||||
}
|
||||
ComputeNoWiki(sb.ToString(), ref noWikiBegin, ref noWikiEnd);
|
||||
match = TableRegex.Match(sb.ToString(), end);
|
||||
match = TableRegex.Match(sb.ToString());
|
||||
while(match.Success) {
|
||||
if(!IsNoWikied(match.Index, noWikiBegin, noWikiEnd, out end)) {
|
||||
sb.Remove(match.Index, match.Length);
|
||||
sb.Insert(match.Index, BuildTable(match.Value));
|
||||
}
|
||||
ComputeNoWiki(sb.ToString(), ref noWikiBegin, ref noWikiEnd);
|
||||
match = TableRegex.Match(sb.ToString(), end);
|
||||
}
|
||||
|
||||
// Strip out all comments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue