diff --git a/calendar/templates/day_navigation.mustache b/calendar/templates/day_navigation.mustache
index d2c7ecad8fc..065d32532ff 100644
--- a/calendar/templates/day_navigation.mustache
+++ b/calendar/templates/day_navigation.mustache
@@ -41,7 +41,7 @@
}} data-month="{{previousperiod.mon}}"{{!
}} data-day="{{previousperiod.mday}}"{{!
}}>
- {{{larrow}}}
+ {{{larrow}}}
{{previousperiodname}}
@@ -58,7 +58,7 @@
}}>
{{nextperiodname}}
- {{{rarrow}}}
+ {{{rarrow}}}
diff --git a/calendar/templates/month_navigation.mustache b/calendar/templates/month_navigation.mustache
index 89dcfcf13bc..946a0c7fa99 100644
--- a/calendar/templates/month_navigation.mustache
+++ b/calendar/templates/month_navigation.mustache
@@ -41,7 +41,7 @@
}} data-month="{{previousperiod.mon}}"{{!
}} data-drop-zone="nav-link" {{!
}}>
- {{{larrow}}}
+ {{{larrow}}}
{{previousperiodname}}
@@ -63,7 +63,7 @@
}}>
{{nextperiodname}}
- {{{rarrow}}}
+ {{{rarrow}}}
diff --git a/lib/weblib.php b/lib/weblib.php
index 0de326bc066..733ea344b8a 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -2402,7 +2402,7 @@ function link_arrow_right($text, $url='', $accesshide=false, $addclass='', $addp
if (!$url) {
$arrowclass .= $addclass;
}
- $arrow = ''.$OUTPUT->rarrow().'';
+ $arrow = ''.$OUTPUT->rarrow().'';
$htmltext = '';
if ($text) {
$htmltext = ''.$text.' ';
@@ -2444,7 +2444,7 @@ function link_arrow_left($text, $url='', $accesshide=false, $addclass='', $addpa
if (! $url) {
$arrowclass .= $addclass;
}
- $arrow = ''.$OUTPUT->larrow().'';
+ $arrow = ''.$OUTPUT->larrow().'';
$htmltext = '';
if ($text) {
$htmltext = ' '.$text.'';