Comment 2 for bug 2004508

Revision history for this message
Colin Watson (cjwatson) wrote (last edit ):

We could use `lp.app.browser.stringformatter.add_word_breaks`, maybe (normally used via `fmt:break-long-words`)?

    """Insert manual word breaks into a string.

    The word may be entity escaped, but is not expected to contain
    any HTML tags.

    Breaks are inserted at least every 7 to 15 characters,
    preferably after punctuation.
    """

That would suit this use case, I think.