| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testReadonlyDisplaySepcialHTML() { |
||
| 20 | $inputText = "These are some special <html> chars including 'single' & \"double\" quotations"; |
||
| 21 | $field = new TextareaField("Test", "Test"); |
||
| 22 | $field = $field->performReadonlyTransformation(); |
||
| 23 | $field->setValue($inputText); |
||
| 24 | $this->assertContains('These are some special <html> chars including 'single' &' |
||
| 25 | . ' "double" quotations', $field->Field()); |
||
| 26 | } |
||
| 27 | |||
| 29 |