From 5af4a372ae23436cedc4556ad13acce1091461c3 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 21 Dec 2023 15:13:07 -0500 Subject: [PATCH] Make object trailing space dependent on post_blank. --- default_environment/templates/html/object.dust | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/default_environment/templates/html/object.dust b/default_environment/templates/html/object.dust index 0e094d8..41e026a 100644 --- a/default_environment/templates/html/object.dust +++ b/default_environment/templates/html/object.dust @@ -27,5 +27,4 @@ {@eq value="superscript"}{>superscript/}{/eq} {@eq value="timestamp"}{>timestamp/}{/eq} {@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none} -{/select}{~s} -{! TODO: Maybe the final space should be conditional on end blank in the org source !} +{/select}{@gt key=.post_blank value=0}{~s}{/gt}