mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 22:34:43 +08:00
FIX: Quoting Oneboxed content should exclude formatting (#13296)
* FIX: Quoting Oneboxed content should exclude formatting When a post is quoted that includes Oneboxed content, we should not include the formatting generated by the Onebox. Rather, we should attempt to collapse the link referenced by the Onebox to a single line text link. * DEV: fix tests
This commit is contained in:
@ -208,7 +208,7 @@ describe Onebox::Engine::AmazonOnebox do
|
||||
end
|
||||
|
||||
it "produces a placeholder" do
|
||||
expect(onebox.placeholder_html).to include('<aside class="onebox amazon">')
|
||||
expect(onebox.placeholder_html).to include('<aside class="onebox amazon" data-onebox-src="https://www.amazon.com/dp/B0123ABCD3210">')
|
||||
end
|
||||
|
||||
it "returns errors" do
|
||||
|
Reference in New Issue
Block a user