obsidian-tasks
obsidian-tasks copied to clipboard
Abnormal image display during task summary [in Live Preview, when the Task contains an inlined image at the start of the description]
Please check that this issue hasn't been reported before.
- [X] I searched previous Bug Reports didn't find any similar reports.
Expected Behavior
I expect the image can be displayed in the line normally, just like the reading mode of Obsedian.See P3.
Current behaviour
The image can be briefly displayed,then it will return to a string and become multiple lines.Like P4.
Steps to reproduce
Write the following content in the record file "Pasted image 20230914094549.png"You can use any local image instead
[[test]]
- [ ] ![[Pasted image 20230914094549.png]]This is the text behind the picture
Write the following content in the summary file
```tasks
((heading includes [[test) AND (exclude sub-items)) OR (tags regex matches /^#test$/)
hide task count
hide backlink
sort by path reverse
group by filename reverse
```
Which Operating Systems are you using?
- [ ] Android
- [ ] iPhone/iPad
- [ ] Linux
- [ ] macOS
- [X] Windows
Obsidian Version
1.4.16
Tasks Plugin Version
5.0
Checks
- [X] I have tried it with all other plugins disabled and the error still occurs
Possible solution
No response
Works for me
Thanks for using Tasks.
I have followed your steps and It works for me, in the same versions of Obsidian and Tasks.
Providing a vault to reproduce the problem
So, if you would like it be investigated further, please create a minimal Obsidian vault, with just the file and image to reproduce the problem.
You can find instructions to do that here in this section and the following section:
https://publish.obsidian.md/tasks/Support+and+Help/Report+a+Bug#Before+reporting+a+Tasks+bug+involving+another+plugin
Thank you.
I established a new minimum vault for testing and only enabled the Tasks plugin,You can see that at the beginning, the display on the right side was normal. When the task on the left is modified, the summary area on the right will be refreshed, and the display will show an issue.
对我有用
感谢使用任务。
我遵循了你的步骤,它对我很有效,在相同的版本黑石和任务。
提供一个地下室来再现问题
所以,如果你想进一步调查它,请创建一个最小的黑石拱顶,只有文件和图像来再现问题。
您可以在本节和以下一节中找到这样做的说明:
httPS://发布.md/任务/支持+和+帮助/报告++报告前+错误#+报告前+A+任务+涉及+其他+插件的错误+
多谢。
I established a new minimum vault for testing and only enabled the Tasks plugin
Please create a .zip file containing your minimum vault and attach it here. Thank you in advance.
Thank you for giving me a reply amidst your busy schedule. This is the attachment for the minimum vault. test.zip
我建立了一个新的最小测试库,只启用了任务插件
请创建一个。包含您的最小保险库并附加在这里的拉链文件。先谢谢你。
Thank you.
As a workaround, it seems that it may be an issue with Live Preview, and switching to Reading mode displays the task correctly.