async def test_numbered_list_preservation(self):
        """Test that numbered lists are preserved correctly."""
        input_text = """1. First item
        2. Second item
        3. Third item with **bold**"""

        expected = """1. First item
        2. Second item
        3. Third item with bold"""

        result = await self.filter.filter(input_text)
        self.assertEqual(
            result.strip(),
            expected.strip(),
            f"Numbered list preservation failed.\nExpected:\n{expected}\nGot:\n{result}",
        )
Test that numbered lists are preserved correctly.
tests/test_markdown_text_filter.py