Skip to content

Commit

Permalink
Item13657: Fix regexes, and prepare new release
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Sep 1, 2015
1 parent b42a1f4 commit 5fe2dac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion data/System/RevCommentPlugin.txt
Expand Up @@ -99,7 +99,8 @@ contained in-line in the =oopshistory= template.
| Copyright ©: | 2006, !JChristophFuchs and !Steffen Poulsen; 2008-2015 Kenneth Lavrsen and Foswiki Contributors |
| License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) |
| Change History: | |
| 15 Aug 2015 (2.0) | Foswikitask:Item11068: RevCommentplugin conflicts with CommentPlugin<br/>\
| 01 Sep 2015 (2.01) | Foswikitask:Item13657: Regex issues on perl 5.22 |
| 15 Aug 2015 (2.00) | Foswikitask:Item11068: RevCommentplugin conflicts with CommentPlugin<br/>\
Foswikitask:Item13619: Add compatibility for Foswiki 2.0<br/>\
Foswikitask:Item12880: Preserve rev-comment input across preview |
| 11 Nov 2011 | Item11249 - added registerMETA |
Expand Down
6 changes: 3 additions & 3 deletions lib/Foswiki/Plugins/RevCommentPlugin.pm
Expand Up @@ -33,8 +33,8 @@ use vars qw(
$commentFromUpload $attachmentComments $cachedCommentWeb $cachedCommentTopic $minorMark
);

our $VERSION = '2.00';
our $RELEASE = '29 Aug 2015';
our $VERSION = '2.01';
our $RELEASE = '01 Sep 2015';
our $SHORTDESCRIPTION =
'Allows a short summary of changes to be entered for a new revision.';

Expand Down Expand Up @@ -94,7 +94,7 @@ sub commonTagsHandler {
# Called by Foswiki::handleCommonTags, after %INCLUDE:"..."%

$_[0] =~ s/%REVCOMMENT%/&handleRevComment()/ge;
$_[0] =~ s/%REVCOMMENT{(.*?)}%/&handleRevComment($1)/ge;
$_[0] =~ s/%REVCOMMENT\{(.*?)\}%/&handleRevComment($1)/ge;
$_[0] =~ s/%REVCOMMENT\[(.*?)\]%/&handleRevComment($1)/ge;
}

Expand Down

0 comments on commit 5fe2dac

Please sign in to comment.