Skip to content

Commit

Permalink
Item8408: Allow escaping of backslashes in macro parameters, so that …
Browse files Browse the repository at this point in the history
…macro parameters may end in a backslash

git-svn-id: http://svn.foswiki.org/trunk@6152 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelTempest authored and MichaelTempest committed Jan 25, 2010
1 parent dd005da commit 26ec8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Attrs.pm
Expand Up @@ -80,7 +80,7 @@ sub new {

return $this unless defined($string);

$string =~ s/\\(["'])/$MARKER.sprintf("%.2u", ord($1))/ge
$string =~ s/\\(["'\\])/$MARKER.sprintf("%.2u", ord($1))/ge
; # escapes

my $sep = ( $friendly ? "[\\s,]" : "\\s" );
Expand Down

0 comments on commit 26ec8d1

Please sign in to comment.