diff --git a/aurweb/packages/util.py b/aurweb/packages/util.py index cfd1e9e9..a2c6cbaa 100644 --- a/aurweb/packages/util.py +++ b/aurweb/packages/util.py @@ -85,7 +85,7 @@ def package_link(package: Union[Package, OfficialProvider]) -> str: def provides_markup(provides: Providers) -> str: links = [] for pkg in provides: - aur = "ᴬᵁᴿ" if not pkg.is_official else "" + aur = "AUR" if not pkg.is_official else "" links.append(f'{pkg.Name}{aur}') return ", ".join(links) diff --git a/templates/partials/packages/package_metadata.html b/templates/partials/packages/package_metadata.html index c8d583a1..c5af3ce9 100644 --- a/templates/partials/packages/package_metadata.html +++ b/templates/partials/packages/package_metadata.html @@ -21,7 +21,7 @@ {% else -%} {%- if dep.is_aur_package() -%} - ᴬᵁᴿ + AUR {% endif %} {% endif %} diff --git a/test/test_packages_util.py b/test/test_packages_util.py index b429181b..649e7a99 100644 --- a/test/test_packages_util.py +++ b/test/test_packages_util.py @@ -176,9 +176,9 @@ def test_provides_markup(package: Package): RelTypeID=PROVIDES_ID, ) - # AUR provider links should end with ᴬᵁᴿ + # AUR provider links should end with AUR link = util.provides_markup(dep.provides()) - assert link.endswith("ᴬᵁᴿ") + assert link.endswith("AUR") assert OFFICIAL_BASE not in link # Remove AUR provider and add official one