termcol: move generated xcolors include to data/
[sheet.git] / Shiar_Sheet / FormatChar.pm
index 71dadfee0e4d96b744f2d3102a9ef38cc5ac5386..c0a4cb0b6032ddf36bd181a0d78a85f8f6c7d1cb 100644 (file)
@@ -136,7 +136,7 @@ sub cell {
                if ($input =~ /[ -~]/) {
                        push @class, 'l5', 'u-ascii'; # ascii
                }
-               elsif ($input =~ /^\p{in=6.0}+$/) {
+               elsif ($input =~ /^\p{in=6.0}+$/ and $input !~ /\p{Co}/) {
                        push @class, 'l2'; # in unicode 6.0
                }
                else {