Mini (Inline) Onebox Support RFC

Per:

https://github.com/discourse/discourse/commit/f6bc572fb8ded5fe1f5d762ef2536c0ea9d24318

Added the setting enable inline onebox on all domains, which is enabled here.

Also, after trial and error I think title is a far better default, so I changed it. I also fixed some issues with resolution of inline oneboxes in lists.

Some example mini oneboxes

Personally I LOVE :heart: Mini Onebox for everything ™ … I think it is spectacular! And think that we should make it default in a few weeks.

In contrast I think this is spectacularly ugly :japanese_goblin:

- https://www.nytimes.com/2017/08/02/science/gene-editing-human-embryos.html?hp&action=click&pgtype=Homepage&clickSource=story-heading&module=first-column-region&region=top-news&WT.nav=top-news 

- https://arstechnica.com/tech-policy/2017/08/fbi-says-man-posed-as-anonymous-to-ddos-media-to-force-removal-of-stories/ 

- https://en.wikipedia.org/wiki/Casu_marzu

- https://github.com/discourse/discourse/commit/f6bc572fb8ded5fe1f5d762ef2536c0ea9d24318

Long term I would like to spruce up inline oneboxes so it possibly includes a favicon or some other additional decorations and maybe even move it to the onebox gem.

10 个赞