From 2bc9b7205f65c73c55f94f6fff301ae509b750c0 Mon Sep 17 00:00:00 2001 From: Robert Wilson Date: Mon, 15 Jul 2024 08:06:33 +0100 Subject: [PATCH] remove latexbreak printing in html --- ecoval/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecoval/__init__.py b/ecoval/__init__.py index 3eee629..546e3cc 100755 --- a/ecoval/__init__.py +++ b/ecoval/__init__.py @@ -862,6 +862,8 @@ def validate(title="Automated model evaluation", author=None, variables = "all", new_lines.append(line) # loop through all lines in lines and replace the_test_status with True for i in range(len(new_lines)): + if build == "html": + new_lines[i] = new_lines[i].replace("latexpagebreak", "") if "the_test_status" in new_lines[i]: if test: new_lines[i] = new_lines[i].replace("the_test_status", "True")