mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-69464 core_output: Whitespace fix
This commit is contained in:
parent
55f863e012
commit
20c84b6cc2
@ -315,7 +315,7 @@ class core_moodle_page_testcase extends advanced_testcase {
|
||||
// By default formatting is applied and tags are removed.
|
||||
$this->testpage->set_heading('a heading <a href="#">edit</a><p>');
|
||||
$this->assertSame('a heading edit', $this->testpage->heading);
|
||||
|
||||
|
||||
// Without formatting the tags are preserved but cleaned.
|
||||
$this->testpage->set_heading('a heading <a href="#">edit</a><p>', false);
|
||||
$this->assertSame('a heading <a href="#">edit</a><p></p>', $this->testpage->heading);
|
||||
|
Loading…
x
Reference in New Issue
Block a user