0
$\begingroup$

The bug is about the >! spoiler maker.

Consider these screenshots (Click to maximise):

  1. enter image description here
  2. enter image description here

Here is the code to recreate the bug:

Weird evaluation of spoiler bar noted on Main site but not in editing window

>! $\lim_{x\to a} [1+(f(x)-1)]^{\frac{1}{f(x)-1} (f(x)-1)g(x)} = \lim_{x\to a} [(1+ 
(f(x)-1))^{\frac{1}{f(x)-1}}]^{\lim_{x\to a} (f(x)-1)g(x)}$ and then a very popular limit to sum it 
up $\lim_{x\to0} (1+x)^{\frac{1}{x}}=e$

apparently a change in size of the page (zooming) does not affect the bug. visit image

| |
$\endgroup$
  • 1
    $\begingroup$ The formatting seems much clearer if double dollar sign delimiters are used around the first equation. Putting all the MathJax in-line seems to invite a dependence on the width of the "window" of the web page. $\endgroup$ – hardmath Nov 13 at 17:04
  • $\begingroup$ @AnindyaPrithvi As shown in this site's sand box post answer at math.meta.stackexchange.com/a/4668/602049, removing all carriage returns allows this to work. I've noticed the same issue myself so, if you want actual blank lines, you can either use double dollar sign delimiters to get display equations, or use something like the HTML <br> statement instead. Since the sand box is supposed to only be temporary, I can possibly move it to an answer here instead later. $\endgroup$ – John Omielan Nov 14 at 0:45
  • $\begingroup$ @JohnOmielan I did not need blank lines. My formatting was →Mathjax normal text Mathjax....but the render turned out different. My test code too doesn't have <br> or requires any equivalent. $\endgroup$ – Anindya Prithvi Nov 14 at 5:13
  • 1
    $\begingroup$ @JohnOmielan: If I shrink the "window" of my browser on your sandbox post, it suffers much the same problem as described above: the phrase "and then a popular..." gets interpolated into the midst of the opening equation in the spoiler. $\endgroup$ – hardmath Nov 14 at 16:49
  • $\begingroup$ As suggested zoom in and zoom out test, here is the result i.stack.imgur.com/srDR3.png $\endgroup$ – Anindya Prithvi Nov 14 at 17:29
  • 1
    $\begingroup$ Thank you @hardmath and Anindya Prithvi for checking on this. However, using Microsoft Edge version $84.0.522.61$ on my $64$-bit Windows $10$ system, I tried zooming in to $75$% and zooming out to $150$%, plus also shrinking the window size from near the full screen until it was quite small. None of these actions affected the spoiler handling. In case it makes any difference, note I'm using the default Math Renderer of HTML-CSS. It seems the problem might be browser and/or math renderer related. $\endgroup$ – John Omielan Nov 14 at 20:00

You must log in to answer this question.

Browse other questions tagged .