private char PrevChar(int peek)
{
if (this.index-this.start >= peek)
{
// use buffered
int pos = this.index-peek;
if (pos < 0 || pos >= this.source.Length)
{
return NullChar;
}
return this.source[pos];
}
// check the previous output if possible
IReversePeek revPeek = this.htmlWriter as IReversePeek;
return (revPeek == null) ? NullChar : revPeek.PrevChar(peek);
}