From e28a1b52030ef68a68f8d9cf841ef3f8575bbdde Mon Sep 17 00:00:00 2001 From: bigjim80 <43608762+bigjim80@users.noreply.github.com> Date: Wed, 30 Oct 2024 09:08:20 +0100 Subject: [PATCH] Accept both upper and lowercase 'S' for custom attribute --- src/core/Entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index 9a85685b7..e839564a9 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -1372,7 +1372,7 @@ Entry::PlaceholderType Entry::placeholderType(const QString& placeholder) const if (!placeholder.startsWith(QLatin1Char('{')) || !placeholder.endsWith(QLatin1Char('}'))) { return PlaceholderType::NotPlaceholder; } - if (placeholder.startsWith(QLatin1Literal("{S:"))) { + if (placeholder.startsWith(QLatin1Literal("{S:")) || placeholder.startsWith(QLatin1Literal("{s:"))) { return PlaceholderType::CustomAttribute; } if (placeholder.startsWith(QLatin1Literal("{REF:"))) {