From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 27 Jun 2018 19:32:56 +0200 Subject: [PATCH v4 11/16] md2html: add asset mapping In-Reply-To: <152948957470.29466.14608988436277033922.stgit@mail.warmcat.com> References: <152948941145.29466.10223016890282865269.stgit@mail.warmcat.com> <152948957470.29466.14608988436277033922.stgit@mail.warmcat.com> Message-ID: On Wed, Jun 20, 2018 at 12:13 PM Andy Green wrote: > md2html > The trailing "/" is important. Can we make it not important? That is, if the type is always explicitly a directory, treat it as such using the usual file name joining logic. Alternatively, and perhaps better, don't introduce a second argument. Just pass the full file path in the first argument, and have asset mapping always work it out in the right way. Jason