author name will be counted as content in embeds. Embeds will now be valid if they only have an author specified
This commit is contained in:
parent
c3ea830d7b
commit
aca7ace527
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ public abstract record SmartEmbedTextBase : SmartText
|
||||||
=> !string.IsNullOrWhiteSpace(Title)
|
=> !string.IsNullOrWhiteSpace(Title)
|
||||||
|| !string.IsNullOrWhiteSpace(Description)
|
|| !string.IsNullOrWhiteSpace(Description)
|
||||||
|| !string.IsNullOrWhiteSpace(Url)
|
|| !string.IsNullOrWhiteSpace(Url)
|
||||||
|
|| !string.IsNullOrWhiteSpace(Author?.Name)
|
||||||
|| !string.IsNullOrWhiteSpace(Thumbnail)
|
|| !string.IsNullOrWhiteSpace(Thumbnail)
|
||||||
|| !string.IsNullOrWhiteSpace(Image)
|
|| !string.IsNullOrWhiteSpace(Image)
|
||||||
|| (Footer is not null
|
|| (Footer is not null
|
||||||
|
|
Loading…
Reference in a new issue