MDL-54926 search: Reduce over-escaping in results

This commit is contained in:
Eric Merrill 2016-06-28 16:33:29 -04:00
parent b8474fe0c7
commit 4e2b5191d4
6 changed files with 153 additions and 5 deletions

View file

@ -99,6 +99,18 @@ class core_search_generator extends component_generator_base {
$info->content = $options->content;
}
if (!isset($options->description1)) {
$info->description1 = 'Description 1.';
} else {
$info->description1 = $options->description1;
}
if (!isset($options->description2)) {
$info->description2 = 'Description 2.';
} else {
$info->description2 = $options->description2;
}
if (!isset($options->title)) {
$info->title = 'A basic title';
} else {