Skip to content

Commit

Permalink
fix: sitemap error on multi-language #28
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed May 12, 2024
1 parent c7e0fac commit 34b2b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2451,7 +2451,7 @@ public function sitemapMarkup(): string

// create markup
$out = "<?xml version='1.0' encoding='UTF-8'?>\n";
$out .= "<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>\n";
$out .= "<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9' xmlns:xhtml='http://www.w3.org/1999/xhtml'>\n";

// recursive function to traverse the page tree
$count = 0;
Expand Down

0 comments on commit 34b2b96

Please sign in to comment.