diff options
Diffstat (limited to 'markup/internal/attributes/attributes.go')
-rw-r--r-- | markup/internal/attributes/attributes.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/markup/internal/attributes/attributes.go b/markup/internal/attributes/attributes.go index 688740983..a67b51acb 100644 --- a/markup/internal/attributes/attributes.go +++ b/markup/internal/attributes/attributes.go @@ -126,6 +126,9 @@ func (a Attribute) ValueString() string { return cast.ToString(a.Value) } +// Empty holds no attributes. +var Empty = &AttributesHolder{} + type AttributesHolder struct { // What we get from Goldmark. attributes []Attribute |