From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA731138350 for ; Sun, 12 Jan 2020 09:23:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B411BE0958; Sun, 12 Jan 2020 09:23:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 995C1E0958 for ; Sun, 12 Jan 2020 09:23:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F0A334DF9E for ; Sun, 12 Jan 2020 09:23:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 298729B for ; Sun, 12 Jan 2020 09:23:14 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1578820886.da17f1301a5e7c5f9cfa6fa1d202ae78c8f6bb3b.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: bin/ X-VCS-Repository: proj/devmanual X-VCS-Files: bin/gen-eclass-html.sh X-VCS-Directories: bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: da17f1301a5e7c5f9cfa6fa1d202ae78c8f6bb3b X-VCS-Branch: master Date: Sun, 12 Jan 2020 09:23:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d4fc759d-678f-4fca-bbc2-cc243aeab27c X-Archives-Hash: 0fcbd24b6fc6e20c6a490cf728124243 commit: da17f1301a5e7c5f9cfa6fa1d202ae78c8f6bb3b Author: Ulrich Müller gentoo org> AuthorDate: Fri Jan 10 00:33:51 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Jan 12 09:21:26 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=da17f130 bin/gen-eclass-html.sh: More man2html postprocessing. Remove all links containing "${", because most likely these are instances of SRC_URI containing a variable reference. Remove since it is no longer valid in HTML5. man2html only outputs this pair of tags (with a sequence of non-breaking spaces inside) when it encounters a tab character in its input. Neither nor any other logical markup would be a good replacement, so simply remove it. Signed-off-by: Ulrich Müller gentoo.org> bin/gen-eclass-html.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh index 7d3d2ba..2234926 100755 --- a/bin/gen-eclass-html.sh +++ b/bin/gen-eclass-html.sh @@ -105,11 +105,13 @@ for i in $(/usr/bin/qlist eclass-manpages) /usr/share/man/man5/ebuild.5*; do # rebuild the man page each time echo -n "${HEADER//@TITLE@/${BASENAME}}" > "${FINAL}" # generate html pages and fix hyperlinks for eclass and ebuild man pages - ${DECOMPRESS} "${i}" | /usr/bin/man2html -r - \ + ${DECOMPRESS} "${i}" | /usr/bin/man2html -r \ | sed -e '1,//d;/<\/BODY>/,$d' \ -e '/\([^<>]*\):\1:g' \ -e 's:\([^<>]*\):\1:g' \ + -e 's:\([^<>]*\):\1:g' \ + -e 's:\([^<>]*\):\1:g' \ >> "${FINAL}" echo -n "${FOOTER}" >> "${FINAL}" done