diff --git a/core/views/expo.py b/core/views/expo.py index 4902502..0a63ce3 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -382,7 +382,7 @@ def editexpopage(request, path): # detect if this is a text file for editing filepath = Path(settings.EXPOWEB) / path - if filepath.suffix == ".txt": + if filepath.suffix in [".txt", ".sty", ".tex"]: print("Editing TEXT file", filepath) return edittxtpage(request, path, filepath)