Open kkaempf opened 6 years ago
This one is hard. xmllint
does it right (replacing known entities, leaving unknowns in place), but Nokogiri either complains about "unknown entity" (strict parsing) or replaces unknowns with "" :disappointed:
visit_entity_ref
does the trick!
We can close this right?
No, we can't. Still doesn't work :disappointed:
DocBook entities (like
&version;
) need to{version}
https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#attributes-and-substitutions shows how to define entities at the top of the file. Top-of-file definitions are hard to implement with a streaming converter like docbookrx. Therefore, the entity definitions should go to a separate file to be included at every asciidoc header.
Actions
suse_entities.adoc
suse_entities.adoc