Jump to content
Sign in to follow this  
Followers 3
paleolith

Bug: multiple dollars in title affect format

Recommended Posts

Multiple consecutive dollar signs in a cache title are treated as formatting characters rather than literals, and may not be displayed. It looks like $$ is markup to start/stop italics, and when present in a title, is not properly escaped at some point in processing. For example, see https://www.geocaching.com/geocache/GC6933_mulholland-cash

  • Helpful 2

Share this post


Link to post
Posted (edited)

This looks like MathJax being too greedy when hunting for equations on the page—notice that (La)TeX symbols can be typeset in the title (and also in the "hidden by" field.) This allows for some pretty scary-looking cache titles! (it could even be the puzzle!)

 

  • int2.PNG

 

  • old.PNG

 

The solution will be (for Groundspeak) to configure the x-mathjax-config options such that the processor is only run on the description. IIRC, this should work.

MathJax.Hub.Config({
    elements: document.querySelectorAll(".UserSuppliedContent")
});

 

Edited by Hügh

Share this post


Link to post

Thanks for the reply, and sorry it took me so long to return. I've submitted a help request. No telling what it will take to get it past the front line ...

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  
Followers 3

×
×
  • Create New...