-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
I'm writing a plugin and have something like this in it:
blocks: {
authors: {
process: function(block) {
return "<div class=\"authors\">Main authors: "+block.args+"</div>";
}
}
}Basically this works, but I have the impression that the last argument in the input file is not included in the args list:
{% authors "The author", "Someone else", "Yet another one" %}{% endauthors %}
will give me The author,Someone else, while
{% authors "The author" %}{% endauthors %}
will result in an empty list.
Is this a bug or am I missing something?
Metadata
Metadata
Assignees
Labels
No labels