15
$\begingroup$

The suggested questions' titles here are not parsed:

enter image description here

I find this a bit odd, because they are indeed parsed in other scenarios, like this:

enter image description here

Why aren't the titles parsed when suggesting questions? I think it would be very useful to have them parsed by default.

$\endgroup$
5
  • $\begingroup$ There was some other instance where titles didn't parse... Hm.. let me try to remember.. Edit: Ah yes, it is when you switch tabs in your answers/questions: this picture shows it. I switched from the newest tab to the votes tab. $\endgroup$ Sep 23, 2013 at 4:49
  • $\begingroup$ (This might be related but...probably not). Previously tag wikis were not parsed when you mouse-oever-ed them. However, this was because it took too long to complete before the pop-up popped. MathJax is now fast enough for this not to matter, so it is rendered when you mouse over now. See here. $\endgroup$
    – user1729
    Sep 23, 2013 at 9:51
  • $\begingroup$ So, this has potential to be a feature request? $\endgroup$
    – Saturn
    Sep 24, 2013 at 9:39
  • $\begingroup$ @Omega Most certainly. I'd consider it a great feature, even though there already exists a workaround. $\endgroup$
    – Lord_Farin
    Sep 25, 2013 at 7:14
  • $\begingroup$ (Bump) I'd like to insist on having this feature! The workaround is good, but there's no reason to not have this by default. $\endgroup$
    – Saturn
    Dec 5, 2013 at 4:15

2 Answers 2

5
$\begingroup$

I've included a fix for this issue in the Stack Overflow Unofficial Patch v1.2. It turns out to be very simple — I just need to tell MathJax to re-typeset the titles after they're loaded via AJAX. The code that does this in SOUP is:

hookAjax( /^\/search\/titles\b/, function () {
    typeof(MathJax) !== 'undefined' &&
        MathJax.Hub.Queue(['Typeset', MathJax.Hub, 'question-suggestions']);
} );

where hookAjax() is a wrapper around $.ajaxSuccess() that I use to inject code into the SE framework's AJAX handling.

ps. The next version will also include a fix for the related issue on the user profile page pointed out by Karl Kronenfeld in the comments. I missed that comment originally, which is why it's not in v.1.2.0 yet.

$\endgroup$
2
  • 1
    $\begingroup$ I can't really believe that after $5$ whole years, this still hasn’t been done. Would you please be so kind as to add the bug tag to the question? $\endgroup$
    – tchrist
    Nov 4, 2018 at 21:25
  • $\begingroup$ Done. $\endgroup$ Nov 4, 2018 at 22:13
3
$\begingroup$

You can use Robjohn Chatjax links to parse it. You can get it here: https://math.meta.stackexchange.com/a/3297/19341

Clicking "start Chatjax" after you entered your title get's you

enter image description here

And as an extra, it even works at the arxiv...

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .