about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-08-23 16:19:15 +0200
committerbptato <nincsnevem662@gmail.com>2024-08-23 16:19:15 +0200
commit8db0a94ca4287c4f2e1361b056994e0ec206712d (patch)
tree7d1d35e92bc5a15e51dfef539c7440341678881f /test
parent80b060be33ce7eea7a4bab18dbfe652cf6d36c0b (diff)
downloadchawan-8db0a94ca4287c4f2e1361b056994e0ec206712d.tar.gz
layout: fix whitespace weirdness
avoid adding whitespace to the previous atom if it's not on the current
line
Diffstat (limited to 'test')
-rw-r--r--test/layout/pre-no-trailing-space.expected3
-rw-r--r--test/layout/pre-no-trailing-space.html3
2 files changed, 6 insertions, 0 deletions
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 @@
+<pre>
+test
+    test