Skip to content

When SKIP_HTML and META_PARSE are both enabled, the metadata aren't extracted #9

@dedalozzo

Description

@dedalozzo

When SKIP_HTML option is enabled the metadata block is ignored by the specified META_PARSE function. This happens because the YAML code appears like HTML and the YAML delimiters are stripped off.
The only option to use a META_PARSE function is to disable SKIP_HTML function. I didn't try with a blockcode, but I guess it might be a problem as well.
I think the SKIP_HTML operation should run after the execution of the META_PARSE, TOC and even after the rendering of a block code if a render function is defined. To the end of the process.
The same behaviour occurs when the ESCAPE option is enabled. So you can't strip HTML neither you can escape it when a YAML block is defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions