Skip to content

Commit

Permalink
Item2254: This caused double-encoding. The content survives roundtrip…
Browse files Browse the repository at this point in the history
…, but the H

TML is wrong. The real bug is somewhere else.



git-svn-id: http://svn.foswiki.org/trunk@7734 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelTempest authored and MichaelTempest committed Jun 12, 2010
1 parent dc8286a commit 7c37621
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ sub _processTags {
my $tag = $2 . ( $3 || '' );
$tag = "$nl%$tag%";

# Encode &, < and > in the tag to avoid corruption
$tag =~ s/([&<>])/'&#'.ord($1).';'/ge;

# The commented out lines disable PROTECTED for %SIMPLE% vars. See
# Bugs: Item4828 for the sort of problem this would help to avert.
# if ($tag =~ /^\n?%\w+{.*}%/) {
Expand Down

0 comments on commit 7c37621

Please sign in to comment.