Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change é and ü into HTML character entity references in generated HTML
See ukf/ukf-meta#331 for details
Alex Stuart committed Nov 9, 2021
1 parent 69cd56f commit e38cc3b
Showing 4 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/manual/ukf-meta-331/README.md
@@ -0,0 +1,7 @@
# Tests

There should be no difference detected

cat accented.txt | ../../../utilities/bodge-eacute.pl 2> /dev/null | diff - accented.out


3 changes: 3 additions & 0 deletions tests/manual/ukf-meta-331/accented.out
@@ -0,0 +1,3 @@
É
é
ü
3 changes: 3 additions & 0 deletions tests/manual/ukf-meta-331/accented.txt
@@ -0,0 +1,3 @@
É
é
ü
2 changes: 2 additions & 0 deletions utilities/bodge-eacute.pl
@@ -9,3 +9,5 @@
#
binmode(STDOUT, ":encoding(UTF-8)");
s/É/É/g;
s/é/é/g;
s/ü/ü/g;

0 comments on commit e38cc3b

Please sign in to comment.