Meta-PokéBase Q&A
7 votes
407 views

Look at this screenshot.

You can see where I put the asterisks (*) on the middle two lines. They way I typed it should have made it so that I had both the asterisks and italicized text.

The answer preview says that I did it correctly.

It shows that I keep both my asterisks and italicized font, like I thought I would.

However, what actually appears as my answer is quite different.

I keep only two asterisks, one of them in a place that should not be visible, and none of the italics. This is frustrating and confusing, as the answer preview is supposed to reflect what the actual answer is like. Now, a while back there was an update made to the DB that changed a little bit of the coding, what I think may be the problem is that the preview is still considering old coding to be correct. For example, if you want

you text to be in quotes

You can no longer type:

And when I meet him I will say to him:
>Hello. My name is Inigo Montoya. You killed my father. Prepare to die.

Because that shows up in the final question/answer as this:


And when I meet him I will say to him:
>Hello. My name is Inigo Montoya. You killed my father. Prepare to die.


(this, by the way, appears as the quoted text in the question preview)

Instead, you now have to have one empty line between the un-quoted text, and the quoted text, as well as a space after the ">", like so:

And when I meet him I will say to him:

> Hello. My name is Inigo Montoya. You killed my father. Prepare to die.

And it will show up correctly:


And when I meet him I will say to him:

Hello. My name is Inigo Montoya. You killed my father. Prepare to die.


TL;DR the question/answer preview does not accurately reflect the final outcome.

by
edited by
had this exact problem yesterday with the quote needing a space and the answer preview telling me it was fine when it was not, didn't know how to bring it up though
Yeah problems like this have existed for years. Play around with list item indentation a bit, you'll find tons of little problems.
I think it got worse after after a certain update was installed a few months ago, if memory serves that's how this particular problem came about. But something's been a bit off about preview function for a long time.
Don't forget about the numbered list, where...

Grass Types
1. Bulbasaur
2. Bellsprout
Water Types
1. Squirtle
2. Magikarp

...in this case Squirtle and Magikarp would show 1 and 2 in the preview, but becomes 3 and 4 instead.

1 Answer

0 votes

This is because they use two different systems to convert the "Markdown" code - the preview in the browser uses JavaScript and on the server-side it uses PHP. Unfortunately there's not a whole lot I can do about that but I'll check if there are any updates that fix the inconsistencies.

by
Bumping because this issue hasn't been fixed. If there's anything you can do, please fix this? Thanks a bunch. It's gets really hard to edit to make answers look cleaner.