From 0737a75e7e8dc7e2c9096a6e01222f47bd16a288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sun, 20 Sep 2020 23:36:27 +0200 Subject: [PATCH] initial filter for removing solution of exercices --- remove-solutions.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 remove-solutions.lua diff --git a/remove-solutions.lua b/remove-solutions.lua new file mode 100644 index 0000000..68a4cd3 --- /dev/null +++ b/remove-solutions.lua @@ -0,0 +1,7 @@ +function Div(elem) + if (elem.classes:find('solution') == nil) + then + return nil + end + return elem +end