diff --git a/client/src/components/History/ContentItem/DatasetCollection/DscMenu.vue b/client/src/components/History/ContentItem/DatasetCollection/DscMenu.vue index 644e22e0332..7d314f5ef95 100644 --- a/client/src/components/History/ContentItem/DatasetCollection/DscMenu.vue +++ b/client/src/components/History/ContentItem/DatasetCollection/DscMenu.vue @@ -27,7 +27,7 @@ - Delete Collection Only + Delete Collection Only diff --git a/client/src/components/Tool/ToolCard.vue b/client/src/components/Tool/ToolCard.vue index fe675d9eab7..699571a9a9d 100644 --- a/client/src/components/Tool/ToolCard.vue +++ b/client/src/components/Tool/ToolCard.vue @@ -51,7 +51,7 @@ - Switch to {{ v }}Switch to {{ v }} { - const oneline = node.textContent.replace(newlineMatch, " "); - const singleSpaces = oneline.replace(doublespaces, " "); - node.textContent = _l(singleSpaces); + const standardizedContent = node.textContent.replace(newlineMatch, " ").replace(doublespaces, " ").trim(); + node.textContent = _l(standardizedContent); }); }, };