aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/includes/MarkdownTest.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-29 20:57:16 +0000
committerMario <mario@mariovavti.com>2021-09-29 20:57:16 +0000
commitaf0896bb8b9fdcc429ad4e64f6326cf00f2359ae (patch)
tree5b7f5af8ea99fdf12fe83b8bcdb71a6a5f403697 /tests/unit/includes/MarkdownTest.php
parent817237ef77464ae1b1f8698569236d7c24bd8682 (diff)
downloadvolse-hubzilla-af0896bb8b9fdcc429ad4e64f6326cf00f2359ae.tar.gz
volse-hubzilla-af0896bb8b9fdcc429ad4e64f6326cf00f2359ae.tar.bz2
volse-hubzilla-af0896bb8b9fdcc429ad4e64f6326cf00f2359ae.zip
a possible fix for the nested list test
Diffstat (limited to 'tests/unit/includes/MarkdownTest.php')
-rw-r--r--tests/unit/includes/MarkdownTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/includes/MarkdownTest.php b/tests/unit/includes/MarkdownTest.php
index 2a92a58d2..98fe40a49 100644
--- a/tests/unit/includes/MarkdownTest.php
+++ b/tests/unit/includes/MarkdownTest.php
@@ -87,8 +87,8 @@ class MarkdownTest extends UnitTestCase {
"1. Item 1\n2. Item 2\n3. Item **3**"
],
'nested lists' => [
- '<ul><li>Item 1<ol><li>Item 1a</li><li>Item <b>1b</b></ol></li><li>Item 2</li></ul>',
- "- Item 1\n 1. Item 1a\n 2. Item **1b**\n- Item 2"
+ '<ul><li>Item A</li><li>Item B<ul><li>Nested A</li><li>Nested B</li></ul></li><li>Item C</li></ul>',
+ "- Item A\n- Item B\n - Nested A\n - Nested B\n- Item C"
],
'img' => [
'<img src="/path/to/img.png" alt="alt text" title="title text">',