git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e20a73e
)
unicode: subtitled code point of original input
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 24 Apr 2017 00:06:31 +0000
(
02:06
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 29 May 2017 16:51:17 +0000
(18:51 +0200)
Fix for diacritics with a string representation.
Shiar_Sheet/FormatChar.pm
patch
|
blob
|
history
diff --git
a/Shiar_Sheet/FormatChar.pm
b/Shiar_Sheet/FormatChar.pm
index 9a002762fff0583acbd5f0984361dd5f97a8940e..d7c59c171c5c22db71b0d5ac06b08f0aa8d4efa5 100644
(file)
--- a/
Shiar_Sheet/FormatChar.pm
+++ b/
Shiar_Sheet/FormatChar.pm
@@
-173,8
+173,8
@@
sub cell {
}
}
else {
- if ($_ eq 'hex' or $
cell
=~ /^[^a-zA-Z]$/) {
- $anno = sprintf(' <small class="%s">%04X</small>', 'value', ord $
cell
);
+ if ($_ eq 'hex' or $
input
=~ /^[^a-zA-Z]$/) {
+ $anno = sprintf(' <small class="%s">%04X</small>', 'value', ord $
input
);
last;
}
}