Permalink
Browse files

Don't treat 0xA0 as space, since it's not really and XML agrees.

This also creates problems when parsing UTF-8 which is how it supports
Unicode (https://rt.cpan.org/Ticket/Display.html?id=15068).
  • Loading branch information...
gisle
gisle committed Oct 23, 2005
1 parent 25a4576 commit fda1b7ea2c2353375d3861f3e1af90911a671a05
Showing with 1 addition and 1 deletion.
  1. +1 −1 mkhctype
View
@@ -33,7 +33,7 @@ for my $c (0 .. 255) {
local $_ = chr($c);
my $v = 0;
- if (/^\s$/ || $c == 0xa0) { # isSPACE
+ if (/^\s$/) { # isSPACE
$v |= 0x1
}
elsif ($_ ne ">") {

0 comments on commit fda1b7e

Please sign in to comment.