Browse Source

Markdown.pl: avoid use of '

Although ' is specified as part of the XML standard,
some older end user clients may not actually recognize it.

Use ' instead of ' to avoid any difficulty.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
master
Kyle J. McKay 5 years ago
parent
commit
4f58fa33bc
  1. 2
      Markdown.pl

2
Markdown.pl

@ -2042,7 +2042,7 @@ sub _HTMLEncode {
# Remaining entities now
$text =~ s/\042/&quot;/g;
$text =~ s/\047/&apos;/g;
$text =~ s/\047/&#39;/g; # Some older browsers do not grok &apos;
$text =~ s/</&lt;/g;
$text =~ s/>/&gt;/g;

Loading…
Cancel
Save