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

@ -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.1.471")]
[assembly: AssemblyFileVersion("3.0.1.471")]
[assembly: AssemblyVersion("3.0.1.472")]
[assembly: AssemblyFileVersion("3.0.1.472")]

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>");