Redraw the two social cards whose states changed, and leave the plain Places page's shortcut label as it was

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-20 12:52:49 -07:00
1 parent 86de4495b0
commit d4d980ff97
4 files changed
+2 -1

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ class HubTest(unittest.TestCase):
_, _, with_places = regions.regions_index_page(self.records, S, infos=self.infos)
stripped = re.sub(r'<section class="places__group" aria-labelledby="(?:parks|ranges|wilderness)">.*?</section>',
"", str(with_places), flags=re.S)
stripped = stripped.replace(" or a kind of place", "")
stripped = re.sub(r'<li><a href="#(?:parks|ranges|wilderness)">.*?</li>', "", stripped)
stripped = stripped.replace(
" Parks, mountain ranges and wilderness areas with three or more trails have pages too.", "")