Fix #3201 · shawe/CodeIgniter@d2ea460 · GitHub
Skip to content

Commit d2ea460

Browse files
committed
1 parent b2d2535 commit d2ea460

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

system/core/Common.php

Lines changed: 6 additions & 1 deletion

tests/codeigniter/core/Common_test.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ public function test_html_escape()
4747
html_escape('Here is a string containing "quoted" text.'),
4848
'Here is a string containing "quoted" text.'
4949
);
50+
51+
$this->assertEquals(
52+
html_escape(array('associative' => 'and', array('multi' => 'dimentional'))),
53+
array('associative' => 'and', array('multi' => 'dimentional'))
54+
);
5055
}
5156

5257
}

user_guide_src/source/changelog.rst

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)