Whole file

guillaumemeyer/watermarks-remover

The author described this change as fix: preserve mixed-case CMS generator meta tags (#42). It counts as a record because the check below fails on the code as it stood at 7ef8e446e and passes on 4b77c3f4a, with nothing else changed between the two runs.

Fix saved2026-08-14
Sharing licenceMIT · LICENSE
Change size+1 1

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

fix: preserve mixed-case CMS generator meta tags (#42)

The change

254254
255255
256256 def _meta_attrs(tag: str) -> dict[str, str]:
257- return dict(_META_ATTR_RE.findall(tag))
257+ return {name.lower(): value for name, value in _META_ATTR_RE.findall(tag)}
258258
259259
260260 def _is_cms_generator_meta(tag: str) -> bool:

The check that tells the two apart

failpass·tests/test_container_meta.py::test_html_cms_generator_attribute_names_are_case_insensitive

Check file tests/test_container_meta.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 it7ef8e446e74c6f330fccf9c0be9d294890618845
Broken version dated2026-08-14
Moduleskills.remove-ai-marks.scripts.container_meta
Units changed_meta_attrs
Fingerprint38408e30940ec4d1
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 guillaumemeyer/watermarks-remover