Files
3ea8310f20 fix(metadata): make formatDetection respect true/false properly (#83924)
### 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]>
2025-09-26 21:25:15 +00:00
..