From: <de...@de...> - 2008-01-31 18:09:12
|
Author: ScottHoge Date: 2008-01-31 12:09:16 -0600 (Thu, 31 Jan 2008) New Revision: 16332 Trac url: http://develop.twiki.org/trac/changeset/16332 Modified: twiki/branches/MAIN/twikiplugins/LatexModePlugin/lib/TWiki/Plugins/LatexModePlugin/Render.pm Log: Item5310: minor change to trim inline processing. Modified: twiki/branches/MAIN/twikiplugins/LatexModePlugin/lib/TWiki/Plugins/LatexModePlugin/Render.pm =================================================================== --- twiki/branches/MAIN/twikiplugins/LatexModePlugin/lib/TWiki/Plugins/LatexModePlugin/Render.pm 2008-01-31 18:06:39 UTC (rev 16331) +++ twiki/branches/MAIN/twikiplugins/LatexModePlugin/lib/TWiki/Plugins/LatexModePlugin/Render.pm 2008-01-31 18:09:16 UTC (rev 16332) @@ -1131,7 +1131,8 @@ # print $sum ."\n"; my ($frnt,$back) = (0,0); $frnt = length($1)*$cpp if ($sum =~ m/^(1+0+)/); # from the left - $back = length($1)*$cpp if ($sum =~ m/(0+1+)$/); # and from the right + # $back = length($1)*$cpp if ($sum =~ m/(0+1+)$/); # and from the right + $back = length($1)*$cpp if ($sum =~ m/(0+1+0{0,2})$/); # and from the right # print "frnt: $frnt back: $back\n"; $pre =~ m/\"$col\s+$cnt/; |