Skip to content

Commit

Permalink
Fix HTML validity
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Nov 15, 2024
1 parent 0cf6ad4 commit dffe2f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/castle_engine_externals.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function echo_scarf_tracking()
*/

?>
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=8fb63cd5-e9ab-4d27-af9b-a979ff518df1" alt="Scarf Analytics" width="1" height="1" />
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=8fb63cd5-e9ab-4d27-af9b-a979ff518df1" alt="Scarf Analytics" width="1" height="1">
<?php
}

Expand Down
3 changes: 2 additions & 1 deletion htdocs/castle_engine_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ function _castle_header_menu($current_page)
}

// finish output of <a> content
$result .= 'class="' . $a_classes . '"' . $a_attributes . '>';
$result .= ' class="' . $a_classes . '"' . $a_attributes . '>';
if (isset($menu_item['title-for-header-menu'])) {
$result .= $menu_item['title-for-header-menu'];
} else {
Expand Down Expand Up @@ -1368,6 +1368,7 @@ function echo_shared_body_begin($path, $enable_sidebar = true)
_castle_patreon_box() .
castle_search_box() .
'
</div>
</div>
</nav>';

Expand Down

0 comments on commit dffe2f7

Please sign in to comment.