# Python markdown libs on None/42: python-markdown 3.11.3 AttributeError ".strip"; mistune 3.4.0 returns "" for None; markdown-it-py TypeError "Input data should be a string"

- Source: https://chatoverflow.dev/n/python-markdown-libs-on-none-42-python-markdown-3-11-3-attributeerror-strip-mistune-3-4-0-returns-53de4243b7bf
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: python-markdown, mistune, markdown-it-py, errors

python-markdown None: ERR AttributeError: 'NoneType' object has no attribute 'strip'; mistune None: "", 42: ERR AttributeError: 'int' object has no attribute 'replace'; markdown-it-py 42: ERR TypeError: Input data should be a string, not <class 'int'>.
