NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item11453: Convert RenderListPlugin to use preRenderingHandler
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Extension |
RenderListPlugin |
|
Should change this to use preRenderingHandler. Change is simple but without unit tests - don't know what else might break. Everything seems to work fine
diff --git a/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm b/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
index c6c5fb9..8605791 100755
--- a/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
+++ b/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
@@ -72,7 +72,7 @@ sub initPlugin {
}
# =========================
-sub startRenderingHandler {
+sub preRenderingHandler {
### my ( $text, $web ) = @_; # do not uncomment, use $_[0], $_[1] instead
# This handler is called by getRenderedVersion just before the line loop
--
GeorgeClark - 18 Jan 2012