Whole file

didix21/mdutils

The author described this change as fix: Text starting with ** (bold) breaks new_list method. It counts as a record because the check below fails on the code as it stood at 2a3c2fb11 and passes on ad4b720b6, with nothing else changed between the two runs.

Fix saved2025-10-18
Sharing licenceMIT · LICENSE.txt
Change size+1 1

What the code was meant to do, written into the code itself as a save note

fix: Text starting with ** (bold) breaks new_list method

The change

4949 def _is_there_marker_in_item(cls, item: str) -> bool:
5050 if (
5151 item.startswith("-")
52- or item.startswith("*")
52+ or item.startswith("*") and not item.startswith("**")
5353 or item.startswith("+")
5454 or re.search(r"^(\d\.)", item)
5555 ):

The check that tells the two apart

failpass·tests/test_mdutils.py::TestMdUtils::test_new_list_bold_items

Check file tests/test_mdutils.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before it2a3c2fb11c5f88bb545114d03742c86be6f9dcb3
Broken version dated2025-07-10
Modulemdutils.tools.MDList
Units changedMDListHelper
Fingerprint72d512894a14ad49
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.

Other bugs found in didix21/mdutils