openlab-at-city-tech / webworkqa

WeBWorK integration for WordPress and BuddyPress
GNU General Public License v2.0
4 stars 2 forks source link

Emoji font from wordpress.org can override MathJax #135

Closed boonebgorges closed 5 years ago

boonebgorges commented 6 years ago

On Mac (tested in Safari and Firefox, though I think it's an OS issue), WP's emoji fallbacks are being used in at least some cases instead of those that ought to be provided by MathJax. See the two screenshots:

emoji

screenshot_2018-09-12_19-00-37

I'm unsure whether this is a problem with MathJax improperly detecting native emoji support, which prompts WP's emoji fallback, which in turn gives the wrong svg; or whether WP is somehow stomping on MathJax.

boonebgorges commented 5 years ago

I disabled WordPress's emoji polyfill script on the webwork-theme, and it seems to do the trick. This is ready for a test.

drdrew42 commented 5 years ago

I still see the grey emoji square in Chrome 70.0.3538.110 (Official Build) (64-bit)

boonebgorges commented 5 years ago

Where do you see it? I haven't pushed to the production site.

drdrew42 commented 5 years ago

Ahh, that explains it. I was on the production site, looking at this same problem for the rendering of tables.

bree-z commented 5 years ago

I think this looks good. I’m adding screenshots just in case I misunderstood what I’m looking for. I see the same square box I saw on the OL side as on WW, and when I inspect element I don’t see any reference to an emoji img class.

Thanks!

noemoji

noemojiinspect

boonebgorges commented 5 years ago

Yup, this looks good. Thank you, Bree!