html2test does not take inline links into account when maintaining a particular width, which causes links to be broken if the happen to extend past the width limit. html2text should break the line earlier if possible. If the link would still extend beyond the width limit, the width limit should be ignored in order to preserve the link, similar to home the width limit is currently ignored for lists.
Html2text version: 2024.2.26 Python version: 3.11.12
html2test does not take inline links into account when maintaining a particular width, which causes links to be broken if the happen to extend past the width limit. html2text should break the line earlier if possible. If the link would still extend beyond the width limit, the width limit should be ignored in order to preserve the link, similar to home the width limit is currently ignored for lists.