Priority: Enhancement
Current State: Closed
Released In: 2.0.1
Target Release: patch
Suggested patch:
diff --git a/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm b/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm
index f727639..d6b1d4e 100755
--- a/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm
+++ b/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm
@@ -222,7 +222,7 @@ sub _restSave {
. $output
. "\n</div>";
my $comment =
- Foswiki::Func::renderText( $output, $web, $topic );
+ Foswiki::Func::expandCommonVariables( Foswiki::Func::renderText( $output, $web, $topic ) );
$response->print($comment);
}
}
--
GeorgeClark - 04 Jul 2015
Crawford, any reason you didn't do this? Seems like a simple enhancement.
--
GeorgeClark - 24 Jul 2015
Not sure. Did you run the testcases?
--
CrawfordCurrie - 24 Jul 2015
Yes, the unit tests pass.
--
GeorgeClark - 24 Jul 2015