diff --git a/bedrock/contentful/api.py b/bedrock/contentful/api.py index edddeb5463e..2963545dc30 100644 --- a/bedrock/contentful/api.py +++ b/bedrock/contentful/api.py @@ -296,7 +296,7 @@ def render(self, node): rel = ' rel="external noopener"' # add analytics cta_text = _make_plain_text(node) - data_cta = f' data-cta-text="{cta_text}"' + data_cta = f' data-cta-text="{cta_text}"' return f'{self._render_content(node)}' diff --git a/bedrock/contentful/tests/test_contentful_api.py b/bedrock/contentful/tests/test_contentful_api.py index 440663a8364..1a304f54475 100644 --- a/bedrock/contentful/tests/test_contentful_api.py +++ b/bedrock/contentful/tests/test_contentful_api.py @@ -520,7 +520,7 @@ def test_LinkRenderer__mozilla_link(mock_get_current_request): output = LinkRenderer({"text": TextRenderer}).render(mozilla_mock_hyperlink_node) expected = ( 'Example' + 'data-cta-text="Example" rel="external noopener">Example' ) assert output == expected @@ -534,7 +534,7 @@ def test_LinkRenderer__mozilla_link__existing_utm(mock_get_current_request): mozilla_mock_hyperlink_node = deepcopy(mock_hyperlink_node) mozilla_mock_hyperlink_node["data"]["uri"] = "https://mozilla.org/test/page/?utm_source=UTMTEST" output = LinkRenderer({"text": TextRenderer}).render(mozilla_mock_hyperlink_node) - expected = 'Example' + expected = 'Example' assert output == expected diff --git a/bedrock/mozorg/templates/mozorg/antiharassment-tool.html b/bedrock/mozorg/templates/mozorg/antiharassment-tool.html index 1b351f77ff4..cbac8262ba4 100644 --- a/bedrock/mozorg/templates/mozorg/antiharassment-tool.html +++ b/bedrock/mozorg/templates/mozorg/antiharassment-tool.html @@ -125,7 +125,7 @@

Be the first to know when we

- + We will only send you Mozilla-related information.

diff --git a/bedrock/newsletter/templates/newsletter/includes/form.html b/bedrock/newsletter/templates/newsletter/includes/form.html index 2d62d709cc1..f96e19b8f89 100644 --- a/bedrock/newsletter/templates/newsletter/includes/form.html +++ b/bedrock/newsletter/templates/newsletter/includes/form.html @@ -99,7 +99,7 @@

{{ subtitle }}

-

diff --git a/bedrock/products/templates/products/vpn/invite.html b/bedrock/products/templates/products/vpn/invite.html index f5a2e36f2b7..b529bb83452 100644 --- a/bedrock/products/templates/products/vpn/invite.html +++ b/bedrock/products/templates/products/vpn/invite.html @@ -69,7 +69,7 @@

{{ ftl('vpn-landing-invite-page-heading') }}

- +

diff --git a/tests/unit/spec/products/vpn/invite.js b/tests/unit/spec/products/vpn/invite.js index 48122cc0449..1d74e5b9869 100644 --- a/tests/unit/spec/products/vpn/invite.js +++ b/tests/unit/spec/products/vpn/invite.js @@ -71,7 +71,7 @@ describe('WaitListForm', function () {

- +