From b713c964a37c9f2d096459b0d32f4ecc0810a9e5 Mon Sep 17 00:00:00 2001
From: mrilyew <99399973+mrilyew@users.noreply.github.com>
Date: Mon, 27 Jan 2025 21:12:09 +0300
Subject: [PATCH] feat(docs): add unavailable book preview (bc pos-
-sible xss). uncomment if sure
---
Web/Presenters/templates/Documents/Page.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Web/Presenters/templates/Documents/Page.xml b/Web/Presenters/templates/Documents/Page.xml
index ca4fc78a..098ca5bd 100644
--- a/Web/Presenters/templates/Documents/Page.xml
+++ b/Web/Presenters/templates/Documents/Page.xml
@@ -28,6 +28,8 @@
{elseif $doc->isAudio()}
+ {*{elseif $doc->isBook()}
+ *}
{else}