Skip to content

Inconsistent attribute name in =data block example: :id vs :key #18

@zag

Description

@zag

Inconsistent attribute name in =data block example: :id vs :key

Where

Specification, lines 1850–1862

Problem

The code example on line 1850 uses :key<Logo>:

=begin data :key<Logo> :filename<Logo.png> :mime-type<image/png>

The description on line 1862 refers to the same block as having :id:

In the example above, we have a =data block with :id Logo that stores the base64-encoded image data.

This contradicts the earlier definition (line 1775):

Each =data block can be given a :key option, to name it.

Fix

Line 1862: replace C<:id> with C<:key>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions