Skip to content

Commit

Permalink
normalize but keep () and /
Browse files Browse the repository at this point in the history
  • Loading branch information
zachlasiuk committed Aug 5, 2024
1 parent c1caef4 commit c92cf99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function updatePageMetadata(package_dom) {
if (!does_it_woa) {
social_description = "View "+pkg_name+" in the Ecosystem Dashboard for Arm and discover if it runs on Arm (and if not, what alternative packages do).";
}
let new_cannonical = 'https://www.arm.com/developer-hub/ecosystem-dashboard?package='+sanitizeInput(pkg_name);
let new_cannonical = 'https://www.arm.com/developer-hub/ecosystem-dashboard?package='+normalizePackageName(pkg_name).replaceAll('(','').replaceAll(')','').replaceAll('__','/');



Expand Down

0 comments on commit c92cf99

Please sign in to comment.