public bool SkipHtmlEntity(ref string entity) { int savepos = position; if (!Utils.SkipHtmlEntity(this.str, ref pos, ref entity)) return false; if (pos > end) { pos = savepos; return false; } return true; }