Quoting Onebox in Reply expands poorly

AI-generated summary

The discussion “Quoting Onebox in Reply expands poorly” revolves around an issue where quoting a section with a onebox results in poor formatting. tfoote shares an example where a onebox preview is included in the quoted content with poor formatting, but editing it back to the original text renders nicely. The recommended practice is for users to apply minor edits to the quoted text, such as adding <kbd>(...)</kbd> to signify it’s an excerpt of a larger paragraph. codinghorror and erlend_sh agree that supporting such edge cases is not feasible.

I recently tried to reply to a message with a quote of a section including a onebox.

However the resultant quoted content included the onebox preview with very poor formatting

The generated quote:

[quote="tfoote, post:1, topic:1959"]
And to rename the rosdep rule xdot to python-xdot 


  
    github.com/ros/rosdistro
  
  
      
    
  


  rename xdot in python.yaml to python-xdot, becase xdot is already tak…



  by k-okada
  on 06:36AM - 16 Jun 17



  1 commits
  changed 1 files
  with 5 additions
  and 5 deletions.


  
  
    
    
  
  



If either of these are effecting you or will effect you please comment on the pull-requests linked above.
[/quote]

If I edit the quoted content back to the original it renders nicely:

[quote="tfoote, post:1, topic:1959"]
And to rename the rosdep rule `xdot` to `python-xdot` 

https://github.com/ros/rosdistro/pull/15259

If either of these are effecting you or will effect you please comment on the pull-requests linked above.
[/quote]

This is my reply..

For reference I discovered this on this page:

However the results appear to be reproducible here on Meta Discourse as well. If you try to quote the onebox just above you will see it.

I’m not sure what it will take but I’d love to have the quoting mechanism use the original text instead of the captured/generated version.

1 « J'aime »

I don’t think there’s any expectation that this should work.

Agreed. Supporting these types of edge cases is not feasible I’m afraid. The recommended practice for users is to apply minor edits to the quoted text for easier communication, e.g. by starting the quote off with a (…) to signify that it’s en excerpt of a larger paragraph.

3 « J'aime »