So what’s you’re asking is that the quote function should include the context, by “extending” the beginning of the selection (without actually copying the previous text) recursively until it reaches the beginning of context.
I.e. a selected text can be inside <b>, itself inside a <a>, itself inside a quote, itself inside a parent quote, and so on.
The issue you describe is how the quote works overall: if I select only part of your A History of Pizza | History Today link, it will quote the text but omit the link (and the quote).
It seems a good idea to include this kind of context, but I feel like this would be complicated to do ![]()