From a043832a1f370542180a08d7dfb68740cffc1183 Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Sun, 27 Sep 2026 11:07:06 +0100 Subject: [PATCH] Use SVG link arrows to avoid mobile emoji rendering --- scripts/build-site.py | 8 ++++---- site/index.html | 6 +++--- site/styles.css | 8 ++++++++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/scripts/build-site.py b/scripts/build-site.py index 9de785d..eaa2646 100644 --- a/scripts/build-site.py +++ b/scripts/build-site.py @@ -84,11 +84,11 @@ for page_number, (slug, title, source) in enumerate(PAGES): {escape(title)} — Ferese handbook - -
-
{body}
View this guide on GitHub ↗
+ +
+
{body}
View this guide on GitHub
-''' +''' (OUTPUT / 'docs' / f'{slug}.html').write_text(doc) (OUTPUT / 'docs/search-index.json').write_text(json.dumps(search_index, ensure_ascii=False)) print(f'Built website and {len(PAGES)} handbook pages at {OUTPUT}') diff --git a/site/index.html b/site/index.html index ad994be..339a720 100644 --- a/site/index.html +++ b/site/index.html @@ -39,7 +39,7 @@ OverviewDocumentationGitHub GitHub
@@ -57,7 +57,7 @@ Install Ferese Documentation Source code ↗Source code @@ -121,7 +121,7 @@ diff --git a/site/styles.css b/site/styles.css index cac4fe9..fc66b65 100644 --- a/site/styles.css +++ b/site/styles.css @@ -1131,3 +1131,11 @@ kbd { margin-top: 7px; } } + +/* SVG external-link arrows avoid platform emoji presentation. */ +.link-arrow { + display: inline-block; + width: 1em; + height: 1em; + vertical-align: -0.125em; +}