From 8cfdc075ed0c0b554ebe02b356dd1abe4a71bae0 Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 16 Nov 2023 11:25:48 -0500 Subject: [PATCH] strip info string of white space --- asdf/_display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asdf/_display.py b/asdf/_display.py index d7c089341..ace0d697b 100644 --- a/asdf/_display.py +++ b/asdf/_display.py @@ -235,7 +235,7 @@ def _render_node(self, info, active_depths, is_tail): ) if info.info is not None: - line = line + format_faint(format_italic(" # " + info.info)) + line = line + format_faint(format_italic(" # " + info.info.strip())) visible_children = info.visible_children if len(visible_children) == 0 and len(info.children) > 0: line = line + format_italic(" ...")