Fixed #443: multi-line table headers supported (row-headers no longer supported).

This commit is contained in:
Dario Solera 2010-02-02 14:08:32 +00:00
parent 6c3355b3fa
commit 71637365c1
2 changed files with 3 additions and 3 deletions

View file

@ -2255,7 +2255,7 @@ namespace ScrewTurn.Wiki {
thCloseIndex = thCloseIndex_temp;
thCloseIndex_temp = sb.ToString().IndexOf("</th>", thCloseIndex + 1);
}
while (thCloseIndex_temp != -1 && thCloseIndex_temp < sb.ToString().IndexOf("</tr>"));
while (thCloseIndex_temp != -1/* && thCloseIndex_temp < sb.ToString().IndexOf("</tr>") #443, but disables row-header support */);
sb.Insert(thCloseIndex + 10, "</thead><tbody>");
sb.Insert(sb.Length - 8, "</tbody>");