v8.2.0
v8.2.0 — 2026-07-02
Small release — fixed exhibition names contaminated with leaked description text
The bug
EventsEye's HTML sometimes has no space between an exhibition's name and its tagline, so the scraper's title field ended up containing both glued together — e.g. "TRUCKFEST WEST MIDLANDSFair dedicated to Motorsports" instead of just "TRUCKFEST WEST MIDLANDS". This showed up on cards and in the hover panel as garbled, run-on text.
The fix
Added RHG_Shortcode::split_title_and_explanation() — detects the boundary between the exhibition NAME (a leading run of ALL-CAPS words) and any leaked explanation text using capitalisation as the signal:
- Handles glued boundaries with no space at all:
"MIDLANDSFair"→"MIDLANDS"+"Fair" - Handles glued year-to-text boundaries:
"2026Business"→"2026"+"Business" - Handles normal space-separated boundaries too: the first word that isn't fully uppercase marks where the explanation starts
Result:
- Card title and hover-panel heading now show only the clean, correct exhibition name
- Any leaked explanation text is no longer discarded — it's folded into the hover panel's description text instead (deduplicated against the existing description so nothing shows twice)
- This is a display-layer fix — no rescrape required, no database changes. Takes effect immediately for all 325 existing exhibitions