Fix the calculation of the line length for textual reports
Fix the calculation of the line length for textual reports

https://bugzilla.redhat.com/show_bug.cgi?id=1365921
(transferred from ManageIQ/manageiq@edf6f506c1daee3fb60de49298758d5dc571914b)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic