fba2fb6 Fix non-link-text testname parsing when it has spaces in it

Authored and Committed by adamwill 3 years ago
    Fix non-link-text testname parsing when it has spaces in it
    
    When the "test name" (the part of the test case column value that
    is not the testcase link itself, if there is one) is not a link
    text (i.e. not `[[QA:Testcase_foo|testname blah]]`, but
    something like `[[QA:Testcase_foo]] - testname blah`), we cut it
    off at the first whitespace character. So in the above example
    the test name just came out as "-". This was making it impossible
    to handle the newly-tweaked Desktop matrix, and it actually
    affects several rows elsewhere too, I just hadn't noticed. This
    should fix it cleanly; I haven't checked it on historical pages
    but I did check it on all current pages and the values all look
    correct to my eyes.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+1 -1