Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Knot Tags don't work with Knot parameters #930

Open
wuharvey opened this issue Jan 13, 2025 · 1 comment
Open

Knot Tags don't work with Knot parameters #930

wuharvey opened this issue Jan 13, 2025 · 1 comment

Comments

@wuharvey
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@wuharvey and others