From df97a92e53e405723ef797c6c35f544ea34c40a8 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 26 Nov 2005 01:22:14 +0100 Subject: [PATCH] Oops, add missing description of preformat hook return value --- contrib/ruby/hooks.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/ruby/hooks.rb b/contrib/ruby/hooks.rb index cc4ad77b..6e0ac0bb 100644 --- a/contrib/ruby/hooks.rb +++ b/contrib/ruby/hooks.rb @@ -66,6 +66,9 @@ end # Arguments: # @url the URL of the document being loaded. # @html the source of the document being loaded. +# +# Returns the preformatted source of the document. Return nil to leave the +# document source untouched. def ELinks::pre_format_html_hook(url, html) if url.grep("fvwm.lair.be\/(index|viewforum)*.\.php")