From 8db0a94ca4287c4f2e1361b056994e0ec206712d Mon Sep 17 00:00:00 2001 From: bptato Date: Fri, 23 Aug 2024 16:19:15 +0200 Subject: layout: fix whitespace weirdness avoid adding whitespace to the previous atom if it's not on the current line --- test/layout/pre-no-trailing-space.expected | 3 +++ test/layout/pre-no-trailing-space.html | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 test/layout/pre-no-trailing-space.expected create mode 100644 test/layout/pre-no-trailing-space.html (limited to 'test/layout') diff --git a/test/layout/pre-no-trailing-space.expected b/test/layout/pre-no-trailing-space.expected new file mode 100644 index 00000000..83fdb29d --- /dev/null +++ b/test/layout/pre-no-trailing-space.expected @@ -0,0 +1,3 @@ + +test + test diff --git a/test/layout/pre-no-trailing-space.html b/test/layout/pre-no-trailing-space.html new file mode 100644 index 00000000..76b04f34 --- /dev/null +++ b/test/layout/pre-no-trailing-space.html @@ -0,0 +1,3 @@ +
+test
+    test
-- 
cgit 1.4.1-2-gfad0