We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f17f7f commit 263cff6Copy full SHA for 263cff6
1 file changed
ext/libxml/ruby_xml_html_parser_context.c
@@ -327,7 +327,6 @@ static VALUE rxml_html_parser_context_options_set(VALUE self, VALUE options)
327
{
328
int xml_options = NUM2INT(options);
329
htmlParserCtxtPtr ctxt;
330
- Check_Type(options, T_FIXNUM);
331
332
TypedData_Get_Struct(self, htmlParserCtxt, &rxml_html_parser_context_type, ctxt);
333
htmlCtxtUseOptions(ctxt, xml_options);
0 commit comments