Commits

Jakub Wilk committed a6a3e29

Strip soft hyphens when decoding HTML.

  • Participants
  • Parent commits 36c2913

Comments (0)

Files changed (1)

   $codeset //= WEB_CODESET;
   $_ = widen_string $_, $codeset;
   $_ = HTML::Entities::decode_entities $_;
+  s/\xad//g; # strip soft hyphens
   return Encode::encode($::locale_codeset, $_, \&encoding_fallback);
 }