From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-it0-f47.google.com (mail-it0-f47.google.com [209.85.214.47]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 01d6bbb4 for ; Wed, 8 Mar 2017 20:47:55 -0500 (EST) Received: by mail-it0-f47.google.com with SMTP id h10so120818111ith.1 for ; Wed, 08 Mar 2017 17:47:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cathet-us.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:mime-version:content-id:date:message-id; bh=88ejanZOnZj8Heq6Lq6aiPgJKP5OdQMi/pcSE9STS6w=; b=h9oIjkmsnycAPKFKjMz/XxcA3M6E3JZ31KK7FMyS0e/uB1tf6pTaKKr8Sypxy+igk9 dTds6UwbNk99MUdKs1+0EOu3qqvq60gYLdwBo7MciaEE/ir8J2qfPuhROjX/nNJ45Ma7 x5T81DjMCc6oseY/aq+8ufFU+nUYWGqtVf7vnpiYrSVrjFV/yRw652KGew8Aq/5EgfNe blq2s/ZlJqewiMtrp31tXzzxIq4kMRL6En0MxfqRbV3FW2ATtp6V9PBOdY8wnZbCRqMK FZHsUAzngYuAGp+gih2VGxYhkgPPBdOujWyvYnzGKYXpOf5IISyPUR4dJ2OngBxlPtUm cTOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:mime-version:content-id :date:message-id; bh=88ejanZOnZj8Heq6Lq6aiPgJKP5OdQMi/pcSE9STS6w=; b=ZoN/n5M/Vkxm7urzvW9FWnmdLawJTrrD0EWCpA5Us9nOQLInLaTd1SE+7GTHeNB8FI KWngJFgmiQ0lCawRkf/Zfj34mQf1QPoShrybxjsa5tVE7DhMOWlLH6OjlHAeyfSJV5f2 EAQ247cymeUqp7q6G+o7bRArOecB+osvwv+p93TqLMs6iMMWHXTL1oiFEEiWGCPINAng REj3QNul+chNDjOMVMBM62eZzxQLDy67S+FSzbXyhMFpoFOhOas/NGB9hbShHWCPnKkH RSs+d5+mHNGDrJ13cgYnARvGMHdcCsz8h8J/sIuVWhR//C7rWxJq4XhZGBTffEK8s4vg fiEQ== X-Gm-Message-State: AMke39m6+rjHcm6w6Fv5NI8jn9GT/df+wsexDxzSJRzEIIpP8eQ/L24xK+sncr4aHioEng== X-Received: by 10.36.137.4 with SMTP id s4mr27652763itd.63.1489024073877; Wed, 08 Mar 2017 17:47:53 -0800 (PST) Received: from cathet.us. (67-0-67-185.albq.qwest.net. [67.0.67.185]) by smtp.gmail.com with ESMTPSA id v1sm2340035iof.52.2017.03.08.17.47.53 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Mar 2017 17:47:53 -0800 (PST) Sender: "Anthony J. Bentley" Received: from cathet.us (localhost [127.0.0.1]) by cathet.us. (OpenSMTPD) with ESMTP id 0c68fd6b for ; Wed, 8 Mar 2017 18:47:52 -0700 (MST) From: "Anthony J. Bentley" To: tech@mdocml.bsd.lv Subject: -Tmarkdown: don't wrap mailtos in <> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19952.1489024072.1@cathet.us> Date: Wed, 08 Mar 2017 18:47:52 -0700 Message-ID: <34636.1489024072@cathet.us> Hi, Currently -Tmarkdown wraps Mt email addresses in <>. That's not correct; in manpages the <> are provided by a parent Aq block. Index: usr.bin/mandoc/mdoc_markdown.c =================================================================== RCS file: /cvs/src/usr.bin/mandoc/mdoc_markdown.c,v retrieving revision 1.14 diff -u -p -r1.14 mdoc_markdown.c --- usr.bin/mandoc/mdoc_markdown.c 8 Mar 2017 19:23:23 -0000 1.14 +++ usr.bin/mandoc/mdoc_markdown.c 9 Mar 2017 01:46:30 -0000 @@ -211,7 +211,7 @@ static const struct md_act md_acts[MDOC_ { NULL, NULL, md_post_Lb, NULL, NULL }, /* Lb */ { NULL, md_pre_Pp, NULL, NULL, NULL }, /* Lp */ { NULL, md_pre_Lk, NULL, NULL, NULL }, /* Lk */ - { NULL, md_pre_raw, md_post_raw, "<", ">" }, /* Mt */ + { NULL, md_pre_raw, md_post_raw, NULL, NULL }, /* Mt */ { md_cond_body, md_pre_word, md_post_word, "{", "}" }, /* Brq */ { md_cond_body, md_pre_word, md_post_word, "{", "}" }, /* Bro */ { NULL, NULL, NULL, NULL, NULL }, /* Brc */ Index: regress/usr.bin/mandoc/mdoc/Aq/author.out_markdown =================================================================== RCS file: /cvs/src/regress/usr.bin/mandoc/mdoc/Aq/author.out_markdown,v retrieving revision 1.1 diff -u -p -r1.1 author.out_markdown --- regress/usr.bin/mandoc/mdoc/Aq/author.out_markdown 7 Mar 2017 13:09:08 -0000 1.1 +++ regress/usr.bin/mandoc/mdoc/Aq/author.out_markdown 9 Mar 2017 01:46:30 -0000 @@ -6,11 +6,11 @@ AQ-AUTHOR(1) - General Commands Manual # DESCRIPTION -Name <> Name <> +Name <addr> Name <addr> # AUTHORS -Name <> -Name <> +Name <addr> +Name <addr> OpenBSD - November 19, 2014 Index: regress/usr.bin/mandoc/mdoc/Mt/simple.out_markdown =================================================================== RCS file: /cvs/src/regress/usr.bin/mandoc/mdoc/Mt/simple.out_markdown,v retrieving revision 1.1 diff -u -p -r1.1 simple.out_markdown --- regress/usr.bin/mandoc/mdoc/Mt/simple.out_markdown 5 Mar 2017 19:59:26 -0000 1.1 +++ regress/usr.bin/mandoc/mdoc/Mt/simple.out_markdown 9 Mar 2017 01:46:30 -0000 @@ -7,9 +7,9 @@ MT-SIMPLE(1) - General Commands Manual # DESCRIPTION Please send mail to -. +schwarze@openbsd.org. Do not send mail to -<~>. +~. OpenBSD - February 17, 2010 -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv