Date: Tue, 24 Nov 2020 21:44:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251329] textproc/asciidoc: extraneous carriage returns in output Message-ID: <bug-251329-7788-884IZ4Knpn@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251329-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-251329-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251329 --- Comment #2 from Diane Bruce <db@FreeBSD.org> --- Your fix does not work. I've narrowed it down to the use of -a toc e.g. ascidoc -a toc file.txt The bug is in template processing: ... elif name =3D=3D 'template': if args not in config.sections: message.warning('%s: template does not exist' % syntax) else: result =3D [] for line in config.sections[args]: line =3D subs_attrs(line) if line is not None: result.append(line) result =3D '\n'.join(result) # result =3D DEFAULT_NEWLINE. This hack works but is obviously the wrong fix. ;) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251329-7788-884IZ4Knpn>