diff --git a/client/src/components/Markdown/Elements/HistoryLink.vue b/client/src/components/Markdown/Elements/HistoryLink.vue index 6974fb7cea1e..4581ed6d677e 100644 --- a/client/src/components/Markdown/Elements/HistoryLink.vue +++ b/client/src/components/Markdown/Elements/HistoryLink.vue @@ -15,11 +15,11 @@ + + diff --git a/lib/galaxy/managers/markdown_parse.py b/lib/galaxy/managers/markdown_parse.py index 7b2d4c0cdb97..a9b61ddb73ca 100644 --- a/lib/galaxy/managers/markdown_parse.py +++ b/lib/galaxy/managers/markdown_parse.py @@ -24,6 +24,7 @@ class DynamicArguments: DYNAMIC_ARGUMENTS = DynamicArguments() +SHARED_ARGUMENTS: List[str] = ["collapse"] VALID_ARGUMENTS: Dict[str, Union[List[str], DynamicArguments]] = { "history_link": ["history_id"], "history_dataset_display": ["input", "output", "history_dataset_id"], @@ -73,7 +74,7 @@ def invalid_line(template, line_no, **kwd): def _validate_arg(arg_str, valid_args, line_no): if arg_str is not None: arg_name = arg_str.split("=", 1)[0].strip() - if arg_name not in valid_args: + if arg_name not in valid_args and arg_name not in SHARED_ARGUMENTS: invalid_line("Invalid argument to Galaxy directive [{argument}]", line_no, argument=arg_name) expecting_container_close_for = None