Comment 5 for bug 273688

Revision history for this message
Peter Bui (pnutzh4x0r) wrote :

My original fix added unnecessary <br/>'s to the annotated view, so please disregard the previously attached patch. Fortunately, I fixed this error with latest commit in my local branch above. Now, fix_width will behave normally (in the same way as in mainline) unless you pass convert_newlines=True:

util.fix_width(some_string, convert_newlines=True)

This should allow backwards compatibility for the fix_width function and allow for the new line converstion functionality.