Skip to content

fix: template tokens return empty string when no data - #1408

Merged
Flotapponnier merged 2 commits into
devfrom
fix/tqc-remove-okx-dex
Jul 25, 2026
Merged

fix: template tokens return empty string when no data#1408
Flotapponnier merged 2 commits into
devfrom
fix/tqc-remove-okx-dex

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Known {{best_name}} / {{best_p50}} / chain-scoped variants returned the raw placeholder literal when no data was available. Draft bench pages showed {{best_name}} at {{best_p50}} literally.

Now returns "" for recognised-but-empty tokens. Unknown tokens (typos) still pass through unchanged.

Also removes the trailing {{best_name}} at {{best_p50}} sentence from seo_intro of bench 102 since it reads as "Current leader overall is at ." when empty.

@Flotapponnier
Flotapponnier merged commit ffd2b03 into dev Jul 25, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant