From d603f0782b24f0f4c4177f1c2d34fc8cd50f2db4 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Sat, 2 Apr 2016 18:38:59 -0400 Subject: [PATCH] build: Add postprocessing support to unwrap figures. --- build-docs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-docs b/build-docs index 8238dad2..e6e803e3 100755 --- a/build-docs +++ b/build-docs @@ -114,6 +114,11 @@ function build_source { -e 's|{{[ ]*meta\.license-url[ ]*}}|'"${DOCUMENT_License_URL:-}"'|g' \ -e 's|{{[ ]*base\.relpath[ ]*}}|'"${BASE_RELPATH:-}"'|g' \ -i .sedbak "${DEST}.html" + # postprocess + sed -E \ + -e 's|

|
|' \ + -e 's|

|
|' \ + -i .sedbak "${DEST}.html" # clean up rm -f "${DEST}.markdown"