+
Skip to content

Knot Tags don't work with Knot parameters  #930

@wuharvey

Description

@wuharvey

Hey folks. Steps to reproduce:

===test(name)
# location: any
# weight: 5
{name}: I am strong. I want work.
* Welcome aboard! 
* Absolutely not. 

The function TagsForContentAtPath() will return an empty list here.

Looks like the code for TagsAtStartOfFlowContainerWithPathString only checks if the first content object is a container that with tags. In my project, I changed it to check if the first content object is actually a VariableAssignment and check the second content object instead, but not sure if this is the correct way, or if parameters + knot tags is even defined behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载