jelovirt / org.lwdita

LwDITA parser for DITA-OT
http://lwdita.org/
Apache License 2.0
25 stars 19 forks source link

Improper conversion of "audience" metadata #203

Closed raducoravu closed 8 months ago

raducoravu commented 9 months ago

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

kirkilj commented 8 months ago

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?

raducoravu commented 8 months ago

Thanks @jelovirt 👍