Closed
Description
If a document attribute is unset and locked by the API can still be set in an AsciiDoc table cell. The AsciiDoc table cell should have the same restrictions as the parent (primary) document.
When the nested document for the AsciiDoc table cell is set up, the code fails to account for attributes that are locked and unset, thus exposing this loophole.
Example:
|===
a|
:icons: font
WARNING: I shouldn't have an icon font, but I do!
|===
When run using:
asciidoctor -a icons! test.adoc
This is related to #2856 and could be fixed by the change.