From 0c8218b8f69c2c23083ab03252cee354edbc647a Mon Sep 17 00:00:00 2001 From: Sag Date: Wed, 4 Oct 2023 19:11:25 -0300 Subject: [PATCH] Removed wrapper in the Recommendation helper template (#18488) no issue --- .../frontend/helpers/tpl/recommendations.hbs | 6 ++-- .../frontend/helpers/recommendations.test.js | 30 +++++++------------ 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/ghost/core/core/frontend/helpers/tpl/recommendations.hbs b/ghost/core/core/frontend/helpers/tpl/recommendations.hbs index cdd51cacf4..b748cdf9d9 100644 --- a/ghost/core/core/frontend/helpers/tpl/recommendations.hbs +++ b/ghost/core/core/frontend/helpers/tpl/recommendations.hbs @@ -4,10 +4,8 @@
  • {{rec.title}} -
    -
    {{rec.title}}
    -

    {{rec.reason}}

    -
    +
    {{rec.title}}
    +

    {{rec.reason}}

  • {{/each}} diff --git a/ghost/core/test/unit/frontend/helpers/recommendations.test.js b/ghost/core/test/unit/frontend/helpers/recommendations.test.js index 9a660d9a10..cb8248a49b 100644 --- a/ghost/core/test/unit/frontend/helpers/recommendations.test.js +++ b/ghost/core/test/unit/frontend/helpers/recommendations.test.js @@ -73,46 +73,36 @@ describe('{{#recommendations}} helper', function () {
  • Recommendation 1 -
    -
    Recommendation 1
    -

    Reason 1

    -
    +
    Recommendation 1
    +

    Reason 1

  • Recommendation 2 -
    -
    Recommendation 2
    -

    Reason 2

    -
    +
    Recommendation 2
    +

    Reason 2

  • Recommendation 3 -
    -
    Recommendation 3
    -

    Reason 3

    -
    +
    Recommendation 3
    +

    Reason 3

  • Recommendation 4 -
    -
    Recommendation 4
    -

    Reason 4

    -
    +
    Recommendation 4
    +

    Reason 4

  • Recommendation 5 -
    -
    Recommendation 5
    -

    Reason 5

    -
    +
    Recommendation 5
    +

    Reason 5