mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
This commit is contained in:
parent
26a6037e0b
commit
02de87a774
1 changed files with 1 additions and 1 deletions
|
|
@ -578,7 +578,7 @@ export const bazaar = {
|
|||
<img data-type="img-loading" style="height: 64px;width: 100%;padding: 16px 0;" src="/stage/loading-pure.svg">
|
||||
</div>
|
||||
</div>`;
|
||||
if (downloaded) {
|
||||
if (downloaded && data.preferredReadme) {
|
||||
const mdElement = readmeElement.querySelector(".item__readme");
|
||||
mdElement.innerHTML = data.preferredReadme;
|
||||
highlightRender(mdElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue