Summary does not display oneboxed images

Hi!

Since the last update I have seen something that does not work well. Any content inside a Summary is not displayed (image, youtube video, gif, mp4, etc.), only the link is displayed. Before this did not happen, the Summary content was displayed correctly.

Any ideas?

Thanks!


Edit:

Okay, I see that the same thing happens here too :open_mouth:

Summary

1 „Gefällt mir“

I can repro.

Summary

Imgur: The magic of the Internet

I do not understand. Sorry, my english is very bad! :smile:

My apologies. Repro is short for reproduce. I was confirming that I can follow the steps you provided and make the issue you’ve reported occur myself.

5 „Gefällt mir“

Not sure if this is related, but I just stumbled upon a similar issue:

I have an empty quote

image

… or do I?

[details="I have an empty quote"]

> ![image|690x75](upload://NhDzLiw1SK7W5nA5MpCrFPqL75.jpg)

[/details]

Weirdly, this works fine on the preview panel inside composer.

4 „Gefällt mir“

I have updated to the latest version and the bug is still present :frowning:

This is a test to see if it’s still an issue:

Summary

2 „Gefällt mir“

It appears this has since been fixed for new summaries? It’s odd that it hasn’t retroactively fixed the other examples above on this thread.

I’ll dig in a little bit and see what I can find.

Why is that odd? Posts are baked into HTML once, at post time, to save server time. They reflect the state of the code as of post time. If you want to rebake a post (and have mod / admin access), select the wrench menu and then rebake.

There’s also a global rebake rake task for all posts.

1 „Gefällt mir“

Ah. I wasn’t aware. Sounds like this is a closed issue then :+1:t2:

2 „Gefällt mir“

Hmm… ich glaube nicht, dass der ursprünglich gemeldete Fehler behoben wurde. Der Bericht betraf ein in einem Details-Block eingebettetes Bild, das nicht funktionierte.

Dies ist ein Imgur-Link:

![CCNdQ8e](upload://jduaBsPQleI8SpyeR7N5CpLKtv4.jpeg)

Dies ist der eingebettete Link:


Dies ist der Link in einem Details-Block:

[details="Zusammenfassung"]

![CCNdQ8e](upload://jduaBsPQleI8SpyeR7N5CpLKtv4.jpeg)
[/details]

Dies ist der Details-Block:

Zusammenfassung

Das Einbetten funktioniert innerhalb von Details immer noch nicht.

4 „Gefällt mir“

Als Workaround können sie Folgendes verwenden (beachten Sie die leeren Zeilen über und unter der Bildzeile):

<details><summary>Test</summary>

![CCNdQ8e](upload://jduaBsPQleI8SpyeR7N5CpLKtv4.jpeg)
</details>

Das ergibt:

Test

2 „Gefällt mir“

Edited my post, still not working. Strange that the HTML details works but the bbcode details doesn’t.

2 „Gefällt mir“

I’ll take a stab at fixing this.

@jomaxro I just want to confirm: Expected behavior is we do not need to use markdown to display images inline, correct?

For example, this should show the image inline:

[details="Summary"]

https://i.imgur.com/CCNdQ8e.jpg

[/details]

As well as this:

[details="I have an empty quote"]

![image](https://i.imgur.com/CCNdQ8e.jpg)

[/details]
1 „Gefällt mir“

@coderberry, that’s my understanding, yes. If that imgur link “expands” outside of a details block, it should expand the same inside.

2 „Gefällt mir“