From 4bf9cda467b2693b1e3bbf04ad7ec6a5756ab17c Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Fri, 10 May 2019 02:40:25 +0200 Subject: [PATCH] feat(html): introduce new hast extension point (#324) see #319 --- src/defaults/html.pipe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/defaults/html.pipe.js b/src/defaults/html.pipe.js index 706073dd2..738c036f9 100644 --- a/src/defaults/html.pipe.js +++ b/src/defaults/html.pipe.js @@ -66,7 +66,7 @@ const htmlpipe = (cont, payload, action) => { .after(cache).when(uncached) .after(key) .after(debug) - .after(tohast) // start HTML post-processing + .after(tohast).expose('hast') // start HTML post-processing .after(rewriteLinks).when(production) .after(addHeaders) .after(tohtml) // end HTML post-processing