mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 10:42:06 +08:00
This commit is contained in:
parent
26a6037e0b
commit
02de87a774
@ -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…
Reference in New Issue
Block a user