From 513b1de86e9043872ad5041f3862c18d06d24c94 Mon Sep 17 00:00:00 2001
From: Morgan Wattiez <morgan@zoemp.be>
Date: Sun, 25 May 2025 01:40:24 +0200
Subject: [PATCH] shorten summary for filmages

---
 VERSION           | 2 +-
 public/index.html | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/VERSION b/VERSION
index bbdeab6..1750564 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.0.5
+0.0.6
diff --git a/public/index.html b/public/index.html
index 9bd85cb..eb0fc6e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -167,10 +167,10 @@
             html += `<p><b>Summary (Filmages):</b> ${shortSummary(r.details.summary)}</p>`;
             html += `<p><b>Synthesis (Filmages):</b> ${shortSummary(r.details.synthesis, 100)}</p>`;
             if (r.details.indications && r.details.indications.length) {
-              html += `<p><b>Indications:</b> ${r.details.indications.join(', ')}</p>`;
+	      html += `<p><b>Indications:</b> ${shortSummary(r.details.indications.join(', '), 100)}</p>`;
             }
             if (r.details.counterIndications && r.details.counterIndications.length) {
-              html += `<p><b>Contra-indications:</b> ${r.details.counterIndications.join(', ')}</p>`;
+	      html += `<p><b>Contra-indications:</b> ${shortSummary(r.details.counterIndications.join(', '), 100)}</p>`;
             }
           }
           // Fallback