feat: improve table rendering + add markdown-it-decorate module

This commit is contained in:
NGPixel
2022-11-08 22:40:43 -05:00
parent d98e0b3cd0
commit 9fbc25adb8
7 changed files with 107 additions and 5 deletions

View File

@@ -959,9 +959,8 @@ module.exports = class Page extends Model {
// -> Save render to cache
await WIKI.models.pages.savePageToCache(page)
} else {
// -> No render? Possible duplicate issue
/* TODO: Detect duplicate and delete */
throw new Error('Error while fetching page. Duplicate entry detected. Reload the page to try again.')
// -> No render? Last page render failed...
throw new Error('Page has no rendered version. Looks like the Last page render failed. Try to edit the page and save it again.')
}
}
}