diff --git a/static/js/app.js b/static/js/app.js
index 3a360ab..4985cf9 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -813,7 +813,8 @@ function openNotes(bookId, title, author, cover) {
if (data.review_count > 0) {
html += `
π ζ³ζ³/ηΉθ― (${data.review_count})
`;
data.reviews.forEach((r) => {
- const stars = r.star > 0 ? `${"β
".repeat(r.star)}${"β".repeat(5 - r.star)}` : "";
+ const starVal = Math.max(0, Math.min(5, parseInt(r.star) || 0));
+ const stars = starVal > 0 ? `${"β
".repeat(starVal)}${"β".repeat(5 - starVal)}` : "";
html += `
${escapeHtml(r.content)}