Did something happen to the quote tags?

When posting on phpBB and suchlike, I have gotten into the habit of trimming line breaks around quote tags. I’m pretty sure I’ve been doing that here regularly, but lately it seems to have stopped working correctly.

[quote]Lorem ipsum[/quote]

renders as

but

[quote]
Lorem ipsum
[/quote]

works properly:

Was there some reason for this change…?

2 Likes

See my post above.

I neglected to add that there’s also a problem here:

[quote]
Lorem ipsum
[/quote]dolor sit

renders as

[quote]
Lorem ipsum
[/quote]dolor sit

Apologies – that didn’t come through in the email.

This is a regression and has been tagged for fixing. Apologies for the interim peskiness.

6 Likes
[quote]

Lorem ipsum

[/quote]dolor sit

This I am not going to fix, but I will make

[quote]test

test

test[/quote]

work.

We were way too lax in the past with BBCode parsing in the past. It cause tons of edge cases in our parser with a side effects of having hard to read markup.

We have zero plans to make any of these work…

foo[quote]bar[/quote]
[quote]bar[/quote]foo

[quote]foo
bar
[/quote]

[quote]
foo
[/quote]bar

… so don’t do that, or if you do do that, expect it not to work. However, I do agree that

[quote]foo[/quote]

should work, so @sam has made it so!

↑ ↑ ↑

[quote]foo[/quote]

[quote=“codinghorror, post:7, topic:104980”]
so don’t do that
[/quote]The problem is that if I highlight “so don’t do that” and hit the quote button, the cursor is left adjacent to the bracket (as it did here), so the system encourages us to do that. If you want the extra line break to be mandatory, you should probably start by enforcing it on your own quote button!

6 Likes

An excellent point, @sam we should make sure the quote button does the right thing here!

3 Likes

Let’s try now← my cursor was right there when I clicked on the quote button.

Much better thanks @sam, and thanks for bringing this up, such a great point…

3 Likes

Yes, much better.

2 Likes

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