@@ -196,6 +196,40 @@ public function testRenderProvider()
196
196
TableHelper::LAYOUT_DEFAULT ,
197
197
'' ,
198
198
),
199
+ 'Cell text with tags used for Output styling ' => array (
200
+ array ('ISBN ' , 'Title ' , 'Author ' ),
201
+ array (
202
+ array ('<info>99921-58-10-7</info> ' , '<error>Divine Comedy</error> ' , '<fg=blue;bg=white>Dante Alighieri</fg=blue;bg=white> ' ),
203
+ array ('9971-5-0210-0 ' , 'A Tale of Two Cities ' , '<info>Charles Dickens</> ' ),
204
+ ),
205
+ TableHelper::LAYOUT_DEFAULT ,
206
+ <<<TABLE
207
+ +---------------+----------------------+-----------------+
208
+ | ISBN | Title | Author |
209
+ +---------------+----------------------+-----------------+
210
+ | 99921-58-10-7 | Divine Comedy | Dante Alighieri |
211
+ | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens |
212
+ +---------------+----------------------+-----------------+
213
+
214
+ TABLE
215
+ ),
216
+ 'Cell text with tags not used for Output styling ' => array (
217
+ array ('ISBN ' , 'Title ' , 'Author ' ),
218
+ array (
219
+ array ('<strong>99921-58-10-700</strong> ' , '<f>Divine Com</f> ' , 'Dante Alighieri ' ),
220
+ array ('9971-5-0210-0 ' , 'A Tale of Two Cities ' , 'Charles Dickens ' ),
221
+ ),
222
+ TableHelper::LAYOUT_DEFAULT ,
223
+ <<<TABLE
224
+ +----------------------------------+----------------------+-----------------+
225
+ | ISBN | Title | Author |
226
+ +----------------------------------+----------------------+-----------------+
227
+ | <strong>99921-58-10-700</strong> | <f>Divine Com</f> | Dante Alighieri |
228
+ | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens |
229
+ +----------------------------------+----------------------+-----------------+
230
+
231
+ TABLE
232
+ ),
199
233
);
200
234
}
201
235
0 commit comments