View | Details | Raw Unified
Collapse All | Expand All

(-) elinks-0.11.0.orig/src/scripting/ruby/hooks.c (-1 / +1 lines)
 Lines 160-166    Link Here 
	args[0] = rb_str_new2(url);
	args[0] = rb_str_new2(url);
	/* FIXME: Use html_len */
	/* FIXME: Use html_len */
	args[1] = rb_str_new(fragment->data, fragment->length);
	args[1] = rb_str_new2(fragment->data);
	result = erb_protected_method_call("pre_format_html_hook", 2, args, &error);
	result = erb_protected_method_call("pre_format_html_hook", 2, args, &error);
	if (error) {
	if (error) {