We do validate the quotes (kinda), and attach a .quote-modified class to any which have been amended. Let’s see if it figures out the nested quotes:
Hmmm, no it doesn’t. I guess ‘technically’ that content is still part of @ryanerwin’s post. Quite tricky to resolve though. As @zogstrip already said the best way is to try and get your users to quote the original post.
They do quote correctly most of the time. For casual users, nested quotes can be pretty complicated… The “Quote whole post” button is very rarely used for us.
It’s just the real example that came up today, where an innocent but not extremely sophisticated user was just trying to make a quote, and the quote appeared as though it was from a different user…
That’s why I posted it here.
Mods can of course manually edit the post to fix it. And this can’t come up too terribly often. Just a thought to avoid an awkward situation that comes up occasionally
Here’s the actual post (names removed).
You can see how that being attributed to the opposite party in a debate comes across as pretty strange.
NOTE: feel free to delete the image in this post if it’s over the line for meta TOS… Just thought it best to provide a real example.
@eviltrout si ce n’est pas incroyablement complexe et/ou douloureux à corriger, je n’y verrais aucun inconvénient si quelqu’un pouvait s’en charger… cependant, si c’est très complexe, alors abandonnons-le.
À ma connaissance, la dernière fois que j’ai examiné un problème similaire (correspondance de balises imbriquées dans des extraits en JavaScript), je suis resté bloqué par la nécessité d’une expression rationnelle avec rétrospection. Cela dit, je ne serais pas surpris si quelqu’un de plus compétent que moi en expressions rationnelles trouvait une solution acceptable.
Cela a été implémenté et fonctionne désormais comme prévu. Citer une citation préservera les informations du message d’origine. Essayez-le avec l’une des citations ci-dessus.