Org reader: use tag-name attribute instead of data-tag-name.
This commit is contained in:
parent
09b7df472d
commit
96933c6043
2 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ tagsToInlines tags =
|
|||
|
||||
-- | Wrap the given inline in a span, marking it as a tag.
|
||||
tagSpan :: Tag -> Inlines -> Inlines
|
||||
tagSpan t = B.spanWith ("", ["tag"], [("data-tag-name", fromTag t)])
|
||||
tagSpan t = B.spanWith ("", ["tag"], [("tag-name", fromTag t)])
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ simpleTable' n = table "" (replicate n (AlignDefault, 0.0))
|
|||
|
||||
-- | Create a span for the given tag.
|
||||
tagSpan :: String -> Inlines
|
||||
tagSpan t = spanWith ("", ["tag"], [("data-tag-name", t)]) . smallcaps $ str t
|
||||
tagSpan t = spanWith ("", ["tag"], [("tag-name", t)]) . smallcaps $ str t
|
||||
|
||||
tests :: [TestTree]
|
||||
tests =
|
||||
|
|
Loading…
Add table
Reference in a new issue