aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2016-03-20 15:15:32 +0100
committerLars Magne Ingebrigtsen2016-03-20 15:15:32 +0100
commit78bcd428573f4eed83bf143d296fbd38a3ffd71e (patch)
tree18df42abacce473dc4cd4175380004d232766199 /test
parent61b2e837d8eefcba7ae8dbe442a818f05d5ed6f0 (diff)
downloademacs-78bcd428573f4eed83bf143d296fbd38a3ffd71e.tar.gz
emacs-78bcd428573f4eed83bf143d296fbd38a3ffd71e.zip
Further empty <li> tweaks
* lisp/net/shr.el (shr-tag-li): When showing several empty <li> elements, ensure that they really get inserted on a new line.
Diffstat (limited to 'test')
-rw-r--r--test/data/shr/li-empty.html1
-rw-r--r--test/data/shr/li-empty.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/test/data/shr/li-empty.html b/test/data/shr/li-empty.html
new file mode 100644
index 00000000000..05cfee7bdd4
--- /dev/null
+++ b/test/data/shr/li-empty.html
@@ -0,0 +1 @@
<ol><li></li><li></li><li></li></ol>
diff --git a/test/data/shr/li-empty.txt b/test/data/shr/li-empty.txt
new file mode 100644
index 00000000000..8320bc0097b
--- /dev/null
+++ b/test/data/shr/li-empty.txt
@@ -0,0 +1,3 @@
11
22
33