From 8204ae905a88bbdd0a431fd43d783f8919660446 Mon Sep 17 00:00:00 2001 From: Jonathan Shamblen Date: Tue, 5 Apr 2022 12:32:47 -0700 Subject: [PATCH] added newline test --- examples/amp-story/amp-story-shopping.html | 2 +- examples/visual-tests/amp-story/amp-story-shopping.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/amp-story/amp-story-shopping.html b/examples/amp-story/amp-story-shopping.html index 39e5a0408b4c..02f99448ef44 100644 --- a/examples/amp-story/amp-story-shopping.html +++ b/examples/amp-story/amp-story-shopping.html @@ -73,7 +73,7 @@ "reviewCount": 89, "reviewUrl": "https://www.google.com" }, - "productDetails": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere error deserunt dignissimos in laborum ea molestias veritatis sint laudantium iusto expedita atque provident doloremque, ad voluptatem culpa adipisci. Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere error deserunt dignissimos in laborum ea molestias veritatis sint laudantium iusto expedita atque provident doloremque, ad voluptatem culpa adipisci." + "productDetails": "One newline after this. \n Two newlines after this. \n\n Five consecutive newlines after this, should become 2 newlines. \n\n\n\n\n Many consecutive newlines with different spacing and tabs after this, should become 2 newlines. \n \n\n \n \n \n \n \n I hope it works!" }, { "productUrl": "https://www.google.com", diff --git a/examples/visual-tests/amp-story/amp-story-shopping.html b/examples/visual-tests/amp-story/amp-story-shopping.html index ca5ba3ea1055..7ce16f1626ae 100644 --- a/examples/visual-tests/amp-story/amp-story-shopping.html +++ b/examples/visual-tests/amp-story/amp-story-shopping.html @@ -71,7 +71,7 @@ "reviewCount": 89, "reviewUrl": "https://www.google.com" }, - "productDetails": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere error deserunt dignissimos in laborum ea molestias veritatis sint laudantium iusto expedita atque provident doloremque, ad voluptatem culpa adipisci." + "productDetails": "One newline after this. \n Two newlines after this. \n\n Five consecutive newlines after this, should become 2 newlines. \n\n\n\n\n Many consecutive newlines with different spacing and tabs after this, should become 2 newlines. \n \n\n \n \n \n \n \n I hope it works!" }, { "productUrl": "https://www.google.com",