aboutsummaryrefslogtreecommitdiff
path: root/element.go
diff options
context:
space:
mode:
Diffstat (limited to 'element.go')
-rw-r--r--element.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/element.go b/element.go
index 9f77633..227f355 100644
--- a/element.go
+++ b/element.go
@@ -708,7 +708,7 @@ func (el *element) setStyleAdmonition(admName string) {
func (el *element) toHTML(doc *Document, w io.Writer) {
switch el.kind {
case lineKindAttribute:
- _ = doc.Attributes.apply(el.key, el.value)
+ _ = doc.setAttribute(el.key, el.value)
case elKindCrossReference:
var (