What steps will reproduce the problem?
Simply supply a wiki document consisting of 7 or more equal signs (=) on a
single line.
What is the expected output? What do you see instead?
The resulting HTML should have a body with a single paragraph that
contains those equal signs. They should not be converted to heading.
Instead, the parser fails with the following error:
System.ArgumentOutOfRangeException: Exception of
type 'System.ArgumentOutOfRangeException' was thrown.
Parameter name: level
Actual value was 44.
at Schnell.WikiHeadingToken..ctor(Int32 level) in
C:\schnell\src\Schnell\WikiToken.cs:line 84
at Schnell.WikiParser.<ParseHeading>d__1b.MoveNext() in
C:\schnell\src\Schnell\WikiParser.cs:line 338
at Schnell.WikiParser.<ParseBody>d__2.MoveNext() in
C:\schnell\src\Schnell\WikiParser.cs:line 185
at Schnell.HtmlFormatter.Format(IEnumerable`1 tokens, HtmlTextWriter
writer) in C:\schnell\src\Schnell\HtmlFormatter.cs:line 49
at Schnell.Web.UI.Controls.WikiText.Format(IEnumerable`1 tokens,
HtmlTextWriter writer) in
C:\schnell\src\Schnell\Web\UI\Controls\WikiText.cs:line 166
at Schnell.Web.UI.Controls.WikiText.RenderContents(HtmlTextWriter
writer) in C:\schnell\src\Schnell\Web\UI\Controls\WikiText.cs:line 110
...
Original issue reported on code.google.com by azizatif on 13 May 2008 at 10:49
Original issue reported on code.google.com by
azizatif
on 13 May 2008 at 10:49