From 651b1a1f774e8da78600650c826aa1985a07ccd3 Mon Sep 17 00:00:00 2001
From: Jarmil <jarmil.halamicek@seznam.cz>
Date: Fri, 27 Nov 2020 10:12:14 +0100
Subject: [PATCH] FIX: PDP - odtstraneni nadbytecneho In[] z vystupu notebooku

---
 uniweb/templatetags/uniweb_filters.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/uniweb/templatetags/uniweb_filters.py b/uniweb/templatetags/uniweb_filters.py
index 95b7390e2..d36977c1b 100644
--- a/uniweb/templatetags/uniweb_filters.py
+++ b/uniweb/templatetags/uniweb_filters.py
@@ -28,6 +28,9 @@ def jupyterize(value):
     c.TemplateExporter.exclude_output_prompt = (
         True  # potlaci prazdne vystupy typu "Out[8]"
     )
+    c.TemplateExporter.exclude_input_prompt = (
+        True  # potlaci prazdne vystupy typu "In[]"
+    )
     c.preprocessors = ["TagRemovePreprocessor"]
 
     nb_body, _ = nbconvert.TemplateExporter(
-- 
GitLab