Quoting Onebox in Reply expands poorly

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 Like

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 Likes