Skip to content
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

Fix MathJax rendering on iOS Safari #26

Merged
merged 2 commits into from
Oct 24, 2018
Merged

Fix MathJax rendering on iOS Safari #26

merged 2 commits into from
Oct 24, 2018

Conversation

JeffreyCA
Copy link
Contributor

The issue is described here with the recommended fix here.

So the problem was that iOS Safari automatically converts certain long integers into phone numbers as hyperlinks which breaks MathJax. The recommended workaround solution is to add the following HTML meta tag to every page:

<meta name="format-detection" content="telephone=no">

Which I did by overriding the default material theme and added the tag above.

Now if you go here on iOS Safari it renders correctly.

@JeffreyCA
Copy link
Contributor Author

Secondly, I added the site/ directory to .gitignore because every file shows up as changed in Git every time I make a change and build it. Also it's good practice to leave generated files out 😃.

@walkccc
Copy link
Owner

walkccc commented Oct 24, 2018

This is awesome! Thank you very much!

@walkccc walkccc merged commit b3dce28 into walkccc:master Oct 24, 2018
@walkccc walkccc added the enhancement New feature or request label Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants