You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
args and kwargs fields of block object are incorrectly filled. When using a single argument like {% mermaid "user.mmd" %}{% endmermaid %}, the block object get filled as
{body: '',args: [],kwargs: 'user.mmd',blocks: []}
and when using two arguments like {% mermaid "user.mmd", "2" %}{% endmermaid %} it gets filled as
According to the docs, positional arguments should be filled in args always, that makes sense. Keyword arguments ({% mermaid src="user.mmd" %}{% endmermaid %}) seems to works as expected:
args and kwargs fields of block object are incorrectly filled. When using a single argument like
{% mermaid "user.mmd" %}{% endmermaid %}
, the block object get filled asand when using two arguments like
{% mermaid "user.mmd", "2" %}{% endmermaid %}
it gets filled asAccording to the docs, positional arguments should be filled in
args
always, that makes sense. Keyword arguments ({% mermaid src="user.mmd" %}{% endmermaid %}
) seems to works as expected:By the way, I think that
__keywords
field is mostly useless...The text was updated successfully, but these errors were encountered: