rehe
(Miguel)
31.Август.2017 23:03:02
1
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
Summary
1 лайк
rehe
(Miguel)
31.Август.2017 23:06:20
3
jomaxro:
I can repro.
I do not understand. Sorry, my english is very bad!
jomaxro
(Joshua Rosenfeld)
31.Август.2017 23:06:52
4
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 лайков
xrav3nz
01.Сентябрь.2017 01:44:38
5
Not sure if this is related, but I just stumbled upon a similar issue:
I have an empty quote
… or do I?
[details="I have an empty quote"]
> 
[/details]
Weirdly, this works fine on the preview panel inside composer.
4 лайка
rehe
(Miguel)
02.Сентябрь.2017 20:11:21
6
I have updated to the latest version and the bug is still present
coderberry
(Eric Berry)
08.Декабрь.2017 22:03:00
7
This is a test to see if it’s still an issue:
Summary
2 лайка
coderberry
(Eric Berry)
08.Декабрь.2017 22:04:40
8
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 лайк
coderberry
(Eric Berry)
08.Декабрь.2017 22:16:14
10
Ah. I wasn’t aware. Sounds like this is a closed issue then
2 лайка
jomaxro
(Joshua Rosenfeld)
09.Декабрь.2017 02:10:12
13
Хм… кажется, исходная ошибка не исправлена. В отчёте говорилось о том, что изображение в формате onebox не отображается внутри блока details.
Вот ссылка на Imgur:

Вот ссылка в формате onebox:
А вот ссылка внутри блока details:
[details="Summary"]

[/details]
А вот сам блок details:
Summary
Функция onebox всё ещё не работает внутри блока details.
4 лайка
cpradio
(cpradio)
09.Декабрь.2017 03:57:09
14
В качестве обходного решения они могут использовать (обратите внимание на пустые строки выше и ниже строки с изображением)
<details><summary>Тест</summary>

</details>
Что даёт результат:
Тест
2 лайка
jomaxro
(Joshua Rosenfeld)
09.Декабрь.2017 03:58:58
15
Edited my post, still not working. Strange that the HTML details works but the bbcode details doesn’t.
2 лайка
coderberry
(Eric Berry)
11.Декабрь.2017 21:48:35
16
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"]

[/details]
1 лайк
jomaxro
(Joshua Rosenfeld)
11.Декабрь.2017 22:34:09
17
@coderberry , that’s my understanding, yes. If that imgur link “expands” outside of a details block, it should expand the same inside.
2 лайка