From 62cbbf1db4c0e20c517d4264c49d24d10ea6de4a Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Thu, 29 Nov 2018 10:49:29 +0100 Subject: [PATCH] fix textnodes between tags in viewtemplate (#3587) this removes additional text-nodes in the dom after each `tc-tag-list-item` caused by the last empty line we could also just remove that line but I don't know if that's a permanent solution or if some mechanism will re-add that line at some point, so I go with the `whitespace trim` pragma --- core/ui/TagTemplate.tid | 1 + 1 file changed, 1 insertion(+) diff --git a/core/ui/TagTemplate.tid b/core/ui/TagTemplate.tid index 80fd61b6f..7e1306b27 100644 --- a/core/ui/TagTemplate.tid +++ b/core/ui/TagTemplate.tid @@ -1,5 +1,6 @@ title: $:/core/ui/TagTemplate +\whitespace trim <$set name="transclusion" value=<>> <$macrocall $name="tag-pill-body" tag=<> icon={{!!icon}} colour={{!!color}} palette={{$:/palette}} element-tag="""$button""" element-attributes="""popup=<> dragFilter='[all[current]tagging[]]' tag='span'"""/>