Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 1fec387a4317 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
65 return [ | 65 return [ |
66 // Verify that no valid ASCII characters are stripped from the identifier. | 66 // Verify that no valid ASCII characters are stripped from the identifier. |
67 [$id1, $id1, []], | 67 [$id1, $id1, []], |
68 // Verify that valid UTF-8 characters are not stripped from the identifier. | 68 // Verify that valid UTF-8 characters are not stripped from the identifier. |
69 [$id2, $id2, []], | 69 [$id2, $id2, []], |
70 // Verify that invalid characters (including non-breaking space) are stripped from the identifier. | 70 // Verify that double underscores are not stripped from the identifier. |
71 [$id3, $id3], | 71 [$id3, $id3], |
72 // Verify that double underscores are not stripped from the identifier. | 72 // Verify that invalid characters (including non-breaking space) are |
73 // stripped from the identifier. | |
73 ['invalididentifier', 'invalid !"#$%&\'()*+,./:;<=>?@[\\]^`{|}~ identifier', []], | 74 ['invalididentifier', 'invalid !"#$%&\'()*+,./:;<=>?@[\\]^`{|}~ identifier', []], |
74 // Verify that an identifier starting with a digit is replaced. | 75 // Verify that an identifier starting with a digit is replaced. |
75 ['_cssidentifier', '1cssidentifier', []], | 76 ['_cssidentifier', '1cssidentifier', []], |
76 // Verify that an identifier starting with a hyphen followed by a digit is | 77 // Verify that an identifier starting with a hyphen followed by a digit is |
77 // replaced. | 78 // replaced. |