Skip to content

Commit

Permalink
Item12388: convert from apos to rsquo
Browse files Browse the repository at this point in the history
  • Loading branch information
Comment committed Jan 21, 2015
1 parent e461ea6 commit e2c7d33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/HTML2TML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ DEFAULT
$text =~ s/\&\#x3c;/\</goi;
$text =~ s/\&\#62;/\>/go;
$text =~ s/\&\#x3e;/\>/goi;
$text =~ s/\&\#39;/\'/go;
$text =~ s/\&\#x27;/\'/goi;
$text =~ s/\&\#39;/\’/go;
$text =~ s/\&\#x27;/\’/goi;
$text =~ s/\&\#34;/\"/go;
$text =~ s/\&\#x22;/\"/goi;
$text =~ s/\&\#160;/\ /goi;
Expand All @@ -216,6 +216,7 @@ DEFAULT
#print STDERR "Finished\n";
$this->_apply(undef);
$text = $this->{stackTop}->rootGenerate($opts);

$text =~ s/\s+$/\n/s;

return $text;
Expand Down

0 comments on commit e2c7d33

Please sign in to comment.