/// <summary> /// Handles the filters for closing html tags /// </summary> private void CloseTag(FilterBuffer b, int i, FilterTags Filters) { i = b.SkipWhiteSpace(i, true); b.Write(i); b.Write(Filters.Content.HTML); b.Seek(i); }
/// <summary> /// Handles the filters for opening html tags /// </summary> private void OpenTag(FilterBuffer b, int i, int j, string tag, FilterTags Filters) { b.Write(i); if (Filters.Replace != null) { tag = Filters.Replace.HTML; } foreach (FilterTag F in Filters.Attributes) { F.Substitute(ref tag); } b.Write(tag); if (Filters.Content != null) { b.Write(Filters.Content.HTML); } b.Seek(j + 1); }