577093b9fa
Replace MagicMock based text/caption mocks with a lightweight StrWithHtml subclass that provides the required `.html` property while behaving like a regular string. This fixes length and strip checks in the parser and simplifies test setup. Also adds default proxy settings to mock_config for test completeness.