summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-20 11:11:33 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-20 11:56:18 -0700
commit85913c3e502c8cf8b03e4dd143fe42597139780e (patch)
tree39b9883e4410a2e691a4135f9fb5a535af53fc7a /utils
parentb9094593585de54af74748d2d4acf0e12963522f (diff)
downloadpango-85913c3e502c8cf8b03e4dd143fe42597139780e.tar.gz
Use the allow_breaks attribute
In the test-hyphen.txt file, we dont want the hyphenation examples to be broken, so use the allow_breaks attribute to prevent that.
Diffstat (limited to 'utils')
-rw-r--r--utils/test-hyphens.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test-hyphens.txt b/utils/test-hyphens.txt
index de085d7f..65a6afc8 100644
--- a/utils/test-hyphens.txt
+++ b/utils/test-hyphens.txt
@@ -1,3 +1,3 @@
-A hy­phen­ation al­go­rithm is a set of rules, espe­ci­ally one co­di­fied for im­ple­men­tation in a com­pu­ter pro­gram, that de­ci­des at which points a word can be bro­ken over two lines with a hy­phen. For ex­am­ple, a hy­phen­ation al­go­rithm might de­cide that im­peach­ment can be broken as impeach‧ment or im‧peachment but not impe‧‍achment.
+<span allow_breaks="false">A</span> hy­phen­ation al­go­rithm is a set of rules, espe­ci­ally one co­di­fied for im­ple­men­tation in a com­pu­ter pro­gram, that de­ci­des at which points a word can be bro­ken over two lines with a hy­phen. For ex­am­ple, a hy­phen­ation al­go­rithm might de­cide that im­peach­ment can be broken as <span allow_breaks="false">impeach‧ment</span> or <span allow_breaks="false">im‧peachment</span> but not <span allow_breaks="false">impe‧achment.</span>
-One of the rea­sons for the com­plex­ity of the rules of word­break­ing is that dif­fer­ent "di­alects" of English tend to dif­fer on hy­phen­ation[ci­ta­tion needed]: Ame­rican Eng­lish tends to work on sound, but British English tends to look to the ori­gins of the word and then to sound. There are also a large num­ber of ex­cep­tions, which fur­ther com­pli­cates mat­ters.
+One of the rea­sons for the com­plex­ity of the rules of word­break­ing is that dif­fer­ent "di­alects" of English tend to dif­fer on hy­phen­ation [ci­ta­tion needed]: <span allow_breaks="false">Ame­rican</span> Eng­lish tends to work on sound, but British English tends to look to the ori­gins of the word and then to sound. There are also a large num­ber of ex­cep­tions, which fur­ther com­pli­cates mat­ters.