# Quoting Onebox in Reply expands poorly

**URL:** https://meta.discourse.org/t/quoting-onebox-in-reply-expands-poorly/64603
**Category:** Feature
**Created:** [June 16, 2017, 7:45am UTC](https://meta.discourse.org/t/quoting-onebox-in-reply-expands-poorly/64603 "2017-06-16T07:45:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tfoote](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tfoote/32/120929_2.png) [@tfoote](https://meta.discourse.org/u/tfoote)
#### Post date: [June 16, 2017, 7:45am UTC](https://meta.discourse.org/t/quoting-onebox-in-reply-expands-poorly/64603/1 "2017-06-16T07:45:52Z")

</div>

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

 ![](https://global.discourse-cdn.com/meta/original/3X/b/e/bef5297970f380c6f7e2343e35f0b62d2eae5e73.png)

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

 ![](https://global.discourse-cdn.com/meta/original/3X/1/7/17c490ac38650caed0d6c3514e17a4865a88943e.png)

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:

 ![](https://global.discourse-cdn.com/meta/original/3X/7/8/787c8326b43d01aaf3877861f8acdfb444f68e58.png)

```
[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:

> **[Proposed rename of rosdep keys pocketsphinx and xdot](https://discourse.openrobotics.org/t/proposed-rename-of-rosdep-keys-pocketsphinx-and-xdot/1959)**
>
> Thanks to some debugging by @k-okada he determined that there are now two rosdep rules that are shadowing previously released ROS packages. We’ve recently added the ability to do this on purpose to allow transitioning content between 3rdparty...

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.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 16, 2017, 8:36am UTC](https://meta.discourse.org/t/quoting-onebox-in-reply-expands-poorly/64603/2 "2017-06-16T08:36:07Z")

</div>

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

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [June 16, 2017, 1:25pm UTC](https://meta.discourse.org/t/quoting-onebox-in-reply-expands-poorly/64603/3 "2017-06-16T13:25:35Z")

</div>

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.
