Merge pull request #367 from creative-commoners/pulls/2.0/escaped-menu

FIX Double escaping subsites title in CMS menu
This commit is contained in:
Raissa North 2018-06-19 13:56:02 +12:00 committed by GitHub
commit 9038a166bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ class LeftAndMainSubsites extends LeftAndMainExtension
$output->push(ArrayData::create([ $output->push(ArrayData::create([
'CurrentState' => $currentState, 'CurrentState' => $currentState,
'ID' => $subsite->ID, 'ID' => $subsite->ID,
'Title' => Convert::raw2xml($subsite->Title) 'Title' => $subsite->Title,
])); ]));
} }