mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? Fixes the `FormatDetectionMeta` function so that it correctly respects true vs false values. ### Why? Previously, both true and false values output key=no. According to Apple’s spec, Safari defaults to enabling detection when the tag is absent, and only no should be added when explicitly disabled. ### How? - Now false → outputs key=no - true → omits the tag (defaults to Safari’s behavior) ### Reference - [Apple docs on format-detection](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html#//apple_ref/doc/uid/TP40008193-SW1) Fixes #83666 --------- Co-authored-by: Jiwon Choi <[email protected]>