From b8206e2f79f1fac82b4e34189b77da17646341ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 21 Aug 2024 12:19:13 +0200 Subject: [PATCH] m.code: reprunicode() is also gone in docutils 0.21. Their changelog says it was there just for compatibility with Python 2, which m.css never supported anyway. Co-authored-by: John Turner <7strbass@gmail.com> --- plugins/m/code.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/m/code.py b/plugins/m/code.py index 031bce58..43d49de0 100644 --- a/plugins/m/code.py +++ b/plugins/m/code.py @@ -187,7 +187,6 @@ class Include(docutils.parsers.rst.directives.misc.Include): path = os.path.join(self.standard_include_path, path[1:-1]) path = os.path.normpath(os.path.join(source_dir, path)) path = utils.relative_path(None, path) - path = nodes.reprunicode(path) e_handler=self.state.document.settings.input_encoding_error_handler tab_width = self.options.get( 'tab-width', self.state.document.settings.tab_width) -- 2.30.2