6
\$\begingroup\$

With standard quotes, you can use advanced formatting, such as paragraphs.

> Sentence 1.
>
> Sentence 2.

Sentence 1.

Sentence 2.

However, this is impossible with spoiler blockquotes.

>! Sentence 1.
>!
>! Sentence 2.

Sentence 1. Sentence 2.

I think the spoilers should behave the save way as standard block quotes. Sometimes, it's nice to put a big explanation of the code in a spoiler, and currently I'm forced to use ugly <br>.

The issue is most likely caused by that spoiler block quotes are a hack, involving checking if the block quote begins with ! after rendering Markdown. This should be a part of Stack Exchange Markdown implementation in my opinion, not something implemented over actual Markdown.

| |
\$\endgroup\$
4
\$\begingroup\$

Yep, definitely a bug, but for now instead of <br> you could end each line with two spaces.

Foo

Bar

| |
\$\endgroup\$
  • \$\begingroup\$ Isn't... that what you do with normal markdown? \$\endgroup\$ – TheDoctor Apr 29 '14 at 21:44
  • \$\begingroup\$ @TheDoctor With "normal" markdown, two newlines is a paragraph break. Adding two spaces after every line is a workaround for this. \$\endgroup\$ – Doorknob Apr 29 '14 at 21:45
3
\$\begingroup\$

It would be worth posting a bug report at meta.stackexchange if it hasn't already been done.

In the meantime:

>! <p>You can still use HTML markup to format spoiler text.</p>
>! <ul>
>! <li>`Like this,`</li>
>! <li>for example</li>
>! </ul>
>! <h2>Or this, even.</h2>

You can still use HTML markup to format spoiler text.

  • Like this,
  • for example

Or this, even.

| |
\$\endgroup\$
  • \$\begingroup\$ It could be moved if neccessary. I'm just not sure how relevant this is to the entire network - I doubt that other sites need spoilers with paragraphs. \$\endgroup\$ – Konrad Borowski Apr 27 '14 at 20:02
  • \$\begingroup\$ @xfix There was another bug with spoiler formatting that was recently fixed after a bug report was posted at meta SE. (It took a while for the admins to get round to it, mind you.) I think all the beta sites use identical themes, so the bug is almost certainly replicated in other places besides codegolf. \$\endgroup\$ – r3mainer Apr 27 '14 at 21:26
  • \$\begingroup\$ Please no. HTML is so annoying to edit and view. -_- \$\endgroup\$ – Doorknob Apr 28 '14 at 2:24

You must log in to answer this question.

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