11

Take a look at the answer here: music.stackexchange answer

I use semi-ascii formated tables. They show up in editing mode. But they disappear shortly after 1 sec when the question page loads.

When I disable JavaScript for the page, the tables are there. I assume there's a script which removes the tables for some reason.

Tested in firefox, opera and chrome.

How do I fix this?

2
  • Somebody edited the answer with adding the <pre> </pre> tags. That fixed the issue.
    – JBeurer
    Commented Dec 18, 2014 at 6:19
  • 2
    music.se is using jTab to render guitar chord and tab notation, and in this case we're too eager about it -- your tables clearly aren't tab notation, but they're treated as such and converted to a graphical notation. Which they clearly don't have, so it comes out empty. I'm looking at it.
    – balpha StaffMod
    Commented Dec 18, 2014 at 7:09

1 Answer 1

10

This was the work (but not the fault) of jTab, which is used on Music Stack Exchange to render guitar chord notation. We were telling jTab to handle each and every <pre><code> block we could find; especially every indented block like the ones you created. jTab dutifully converted them to a graphical representation, but of course your tables don't actually contain any musical notation, and so these graphics came up empty.

That's why NReilingh's edit that used <pre> (instead of indentation and thus <pre><code>) fixed this particular issue.

From now on, we only give those code blocks to jTab for rendering that pass a simple "this looks lite jTab notation" check; this check wouldn't have passed for your tables and thus they would've been ignored by jTab.

You must log in to answer this question.

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