Skip to content
Snippets Groups Projects
Commit fc5f9cba authored by Lily Yan's avatar Lily Yan
Browse files

Issue #3167972: Fix invalid HTML in theme_office_hours_field_formatter_default()

parent a197faa2
No related branches found
No related tags found
No related merge requests found
......@@ -105,11 +105,11 @@ function theme_office_hours_field_formatter_default($vars) {
. '<span class="oh-display-label" style="width: ' . ($max_label_length * 0.60) . 'em;">'
. filter_xss_admin($info['output_label'])
. '</span>'
. '<div span class="oh-display-times oh-display-' . (!$info['times'] ? 'closed' : 'hours')
. '<span class="oh-display-times oh-display-' . (!$info['times'] ? 'closed' : 'hours')
. ($info['current'] ? ' oh-display-current' : '')
. '">'
. filter_xss_admin($info['output_times'] . $settings['separator_days'])
. '</div>'
. '</span>'
. '</span>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment