/// <summary> /// Creates a new parser with the custom context. /// </summary> /// <param name="context">The context to use.</param> internal HtmlParser(IBrowsingContext context) : this(new HtmlParserOptions { IsScripting = context?.IsScripting() ?? false }, context) { }