8000 Document attribute that is unset and locked by API can still be set in an AsciiDoc table cell · Issue #4017 · asciidoctor/asciidoctor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Document attribute that is unset and locked by API can still be set in an AsciiDoc table cell #4017
Closed
@mojavelinux

Description

@mojavelinux

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.

Metadata

Metadata

Assignees

Labels

bugIssues describing a malfunction that needs to be fixed to comply with the expected behaviorv2.0.14Issues resolved in the 2.0.14 release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0