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(" ...")