-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certain numbers are expanded as phone numbers with Safari on the iPad #19
Comments
Hey, thanks for filing this issue! I'll try to understand what/if there is a difference between this book and xpqz's, and look at the possible fix you linked. Have you noticed if xpqz's books do not exhibit that behaviour in code outputs with 9 or more digits? For example, right in the beginning of this section there are 10 digits. Do those get highlighted? |
(For reference, the screenshot in the original issue is from “Data and Variables” → “Indexing” → “Array Indexing”, here.) |
Adding
as the first line of the generated index.html file fixes the issue globally. Not figured out how/if this can be done from jupyter-book's config files. |
Going through the Jupyter Book docs, Sphinx docs, and some other things I googled, it seems like what we want is awfully similar to the This is backed up by issue 6089 of the Sphinx repo where a user wanted a way to specify default values to some meta tags, instead of having to use the |
Someone suggested adding a file
but that didn't seem to do anything for me. |
Reading the book with Safari on the iPad causes certain numbers (e.g. sequences of 7 or 8 digits, even if interspersed with spaces) to be recognized as phone numbers and be highlighted in blue as hyperlinks, which is very annoying.
Apparently there is no way to disable this phone number expansion on the client side, but there seems to be a way to disable it on the server side, although I haven't tried this: https://stackoverflow.com/questions/226131/how-to-disable-phone-number-linking-in-mobile-safari
Note that this problem does not seem to occur with other Jupyter books (cf. https://xpqz.github.io/learnapl/intro.html and https://xpqz.github.io/cultivations/Intro.html).
The text was updated successfully, but these errors were encountered: