"Quote uses old tags

when selecting sub-text from another thread, a gray box with " Quote appears which copies the sub-text to a reply. the problem is it uses the old tags "[quote][/quote]" which don't work with the new forum.

i've been removing the tags, selecting the text and then hitting the " icon

quoting you using exactly the process you described

the [quote]...[/quote] tags work as expected for me

These tags are BBCode, which is supported by Discourse in addition to Markdown and HTML.
However, there are some differences between how the old SMF forum and the new forum handle BBCode tags.

Would you mind proving an example of where the [quote] tags are not working for you?

Even though I very much prefer Markdown to BBCode and am using Markdown almost exclusively in my forum posts, in this case, the BBCode approach is superior because it supports the metadata that associates a quote with a user and post. It also allows wrapping any arbitrary text, whereas with Markdown you need to prefix with > in order to escape blank lines.

at least earlier today, when i submitted a quote, i saw the [quote] tags in the response

if you type text before then it's a mess [quote="gcjr, post:4, topic:850304"]
at least earlier today
[/quote]

if it is alone on its line then it works fine

is that proper behaviour?

it's poor parsing.

the previous engine would honour tags wherever they were in the line

the Blockquote needs also to be on its line

if not it's a mess too > the Blockquote needs also to be on its line

Yes, and you always will. This is the intended behavior.

Especially in the case of Markdown, it makes sense. It would be super annoying to have every > in your post cause a quote. But also, you wouldn't want to have a quote be inline (you'd just use "" in that case), so it is consistent that the same goes for [quote] tags. The Discourse software automatically formats the quote tags correctly, and you have the real time preview to show you how it will render. So to me the only problem is if some of the old migrated content is now rendered incorrectly.

seems like some of these odd behaviors should be clearly spelled out in a sticky, not only for new but experienced users as well.

i think this is especially warranted because experienced users expect things to work similar to before and may have explicitly used tags that now behave differently.

i've recently become a little more familiar with ,md files. having figured out the benefit, especially when html tags can still be used

I think it's a matter of getting used to it. I've already this under control

at the start of a line:

  • triple back ticks for code blocks
  • quote tag or > for quotation

Anywhere in the text:

  • simple back tick to highlight something like code, semantically close to what we used TT for in the past although looks different

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.