Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
office_hours
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
office_hours
Commits
fc5f9cba
Commit
fc5f9cba
authored
2 years ago
by
Lily Yan
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/office_hours.theme.inc
+2
-2
2 additions, 2 deletions
includes/office_hours.theme.inc
with
2 additions
and
2 deletions
includes/office_hours.theme.inc
+
2
−
2
View file @
fc5f9cba
...
...
@@ -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>'
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment