Skip to content

Commit

Permalink
Merge branch 'Release02x01'
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Mar 1, 2017
2 parents dda049a + 32cfdf2 commit fed5491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/Foswiki/Render.pm
Expand Up @@ -685,10 +685,10 @@ sub TML2PlainText {
|| '';
$text =~ s/%WIKITOOLNAME%/$wtn/g;
if ( $opts =~ m/showvar/ ) {
$text =~ s/%(\w+({.*?}))%/$1/g; # defuse
$text =~ s/%(\w+(\{.*?\}))%/$1/g; # defuse
}
else {
$text =~ s/%$Foswiki::regex{tagNameRegex}({.*?})?%//g; # remove
$text =~ s/%$Foswiki::regex{tagNameRegex}(\{.*?\})?%//g; # remove
}
}

Expand Down

0 comments on commit fed5491

Please sign in to comment.