[Rt-commit] rt branch, 4.0/incorrect-handler-in-makeclicky-docs, created. rt-4.0.19-3-gb5e4b43
Kevin Falcone
falcone at bestpractical.com
Tue Jan 28 15:38:50 EST 2014
The branch, 4.0/incorrect-handler-in-makeclicky-docs has been created
at b5e4b43c8cf68dc51662a09860f2fe8afdba144a (commit)
- Log -----------------------------------------------------------------
commit b5e4b43c8cf68dc51662a09860f2fe8afdba144a
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Jan 28 13:59:11 2014 -0500
The subroutine ref is called handle, not handler.
This has been wrong since the docs added in 7252c037.
The code was merged into core in b426cccd. The commit doesn't say where
it merged from, so I can't go further.
diff --git a/docs/extending/clickable_links.pod b/docs/extending/clickable_links.pod
index 91e9eec..a6c56aa 100644
--- a/docs/extending/clickable_links.pod
+++ b/docs/extending/clickable_links.pod
@@ -89,7 +89,7 @@ add action types. Values are subroutine references which will get
called when needed. They should return the modified string. Note that
subroutine B<must escape> HTML.
-=item handler
+=item handle
A subroutine reference; modify it only if you have to. This can be used
to add pre- or post-processing around all actions.
diff --git a/share/html/Elements/MakeClicky b/share/html/Elements/MakeClicky
index e22e75f..1e24324 100644
--- a/share/html/Elements/MakeClicky
+++ b/share/html/Elements/MakeClicky
@@ -195,7 +195,7 @@ It will be provided with:
references which will get called when needed. They should return
the modified string. Note that subroutine must escape HTML.
- * 'handler': A reference to a subroutine reference; modify it if you
+ * 'handle': A reference to a subroutine reference; modify it if you
have to. This can be used to add pre- or post-processing around
all actions.
-----------------------------------------------------------------------
More information about the rt-commit
mailing list