🎨 The database template field supports using other template fields https://github.com/siyuan-note/siyuan/issues/15517

This commit is contained in:
Daniel 2025-08-20 18:18:32 +08:00
parent f0f5b6a824
commit 6e6522d56a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 50 additions and 47 deletions

View file

@ -80,7 +80,7 @@ func (value *Value) String(format bool) string {
if nil == value.Text {
return ""
}
return strings.TrimSpace(value.Text.Content)
return value.Text.Content
case KeyTypeNumber:
if nil == value.Number {
return ""