I'm pretty sure it is DITAA that's adding the <style> tag, not Asciidoctor Diagram. Asciidoctor Diagram merely delegates to DITAA. You could file an issue with asciidoctor-diagram to consider cleaning this tag if a certain compliance setting is set. Or you could see if DITAA would consider not emitting it.
It's really fop that's in the wrong here since technically that is a valid SVG.
On Sun, Jul 26, 2020 at 1:28 AM metro [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I am using asciidoctor-diagram and generate SVG output for a DITAA drawing.
The SVG rendering in Fop fails in 'createFontFace' and the the offending part of the SVG seems to be: