jelovirt/org.lwdita

Improper conversion of "audience" metadata

raducoravu opened this issue · 2 comments

If in the Markdown file I have:

---
audience: Audience
---

the generated DITA XML content contains:

 <audience audience="Audience"/>

So the "Audience" value goes as the value of the profiling attribute "audience", I think maybe it should go as the value of the attribute @type

https://www.oxygenxml.com/dita/1.3/specs/langRef/base/audience.html

Is it safe to assume that this doesn’t affect the handling of {.audience=novice} in an attribute list? These get converted to the audience filtering attribute still, correct?

Thanks @jelovirt 👍