@@ -167,37 +167,37 @@ public function test_template( string $template_string, array $replacements, str
167167
168168 public static function data_template () {
169169 return array (
170- 'basic template (no placeholders) ' => array (
170+ 'basic template (no placeholders) ' => array (
171171 '<p>Hi!</p> ' ,
172172 array (),
173173 '<p>Hi!</p> ' ,
174174 ),
175175
176- 'basic text replacement ' => array (
176+ 'basic text replacement ' => array (
177177 '<p>Hello, </%name>!</p> ' ,
178178 array ( 'name ' => 'World ' ),
179179 '<p>Hello, World!</p> ' ,
180180 ),
181181
182- 'escapes special characters in text ' => array (
182+ 'escapes special characters in text ' => array (
183183 '<p>Hello, </%placeholder>!</p> ' ,
184184 array ( 'placeholder ' => 'Alice & Bob ' ),
185185 '<p>Hello, Alice & Bob!</p> ' ,
186186 ),
187187
188- 'escapes angle brackets in text ' => array (
188+ 'escapes angle brackets in text ' => array (
189189 '<p>Hello, </%name>!</p> ' ,
190190 array ( 'name ' => '<little-bobby-tags> ' ),
191191 '<p>Hello, <little-bobby-tags>!</p> ' ,
192192 ),
193193
194- 'numeric placeholders ' => array (
194+ 'numeric placeholders ' => array (
195195 '<p>Hello, </%0> and </%1>!</p> ' ,
196196 array ( 'Alice ' , 'Bob ' ),
197197 '<p>Hello, Alice and Bob!</p> ' ,
198198 ),
199199
200- 'repeated placeholders ' => array (
200+ 'repeated placeholders ' => array (
201201 '<p></%0>, </% 0 >, </%name>, & </%name>!</p> ' ,
202202 array (
203203 'Alice ' ,
@@ -206,13 +206,13 @@ public static function data_template() {
206206 '<p>Alice, Alice, Bob, & Bob!</p> ' ,
207207 ),
208208
209- 'nested template replacement ' => array (
209+ 'nested template replacement ' => array (
210210 '<p>Hello, </%html> ' ,
211211 array ( 'html ' => WP_HTML_Template::from ( '<i>Alice</i> & <i>Bob</i> ' ) ),
212212 '<p>Hello, <i>Alice</i> & <i>Bob</i></p> ' ,
213213 ),
214214
215- 'replaces attribute values ' => array (
215+ 'replaces attribute values ' => array (
216216 '<meta name="</%n>" content="</%c>"> ' ,
217217 array (
218218 'n ' => 'the name ' ,
@@ -221,7 +221,7 @@ public static function data_template() {
221221 '<meta name="the name" content="the content"> ' ,
222222 ),
223223
224- 'escapes attribute values ' => array (
224+ 'escapes attribute values ' => array (
225225 '<meta content="</%c>"> ' ,
226226 array (
227227 'c ' => 'the "content" & whatever else ' ,
0 commit comments