Skip to content

Add meta tag 'format-detection'#126

Open
tangledhelix wants to merge 1 commit intowf49670:developfrom
tangledhelix:meta-format-detection
Open

Add meta tag 'format-detection'#126
tangledhelix wants to merge 1 commit intowf49670:developfrom
tangledhelix:meta-format-detection

Conversation

@tangledhelix
Copy link
Contributor

Mostly (but not entirely) on mobile, this tag tells the browser to turn off data detectors, such as converting phone numbers (or random integers that could possibly be phone numbers, but aren't) into clickable links. Dates are another thing PG books might contain that these detectors will try to pick up to let users add calendar entries.

This PR was inspired by a book I ran containing U.S. patent numbers that my phone mistakenly identified as phone numbers and dutifully converted to links.

As with any meta tag, a browser not knowing what to do with it will simply ignore it. This passes Nu HTML5 validation as well as ebookmaker.

Guiguts has already added this tag (see DistributedProofreaders/guiguts-py#1696)

Mostly (but not entirely) on mobile, this tag tells the browser to turn
off data detectors, such as converting phone numbers (or random integers
that could possibly be phone numbers, but aren't) into clickable links.
Dates are another thing PG books might contain that these detectors will
try to pick up to let users add calendar entries.

This PR was inspired by a book I ran containing U.S. patent numbers that
my phone mistakenly identified as phone numbers and dutifully converted
to links.

As with any meta tag, a browser not knowing what to do with it will
simply ignore it. This passes Nu HTML5 validation as well as ebookmaker.

Guiguts has already added this tag (see
DistributedProofreaders/guiguts-py#1696)
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