titresults_content = [];
FOR sub IN titresults;
IF sub.getAttribute('code') == 'a';
- titresults_content.push(tc.title(sub.textContent));
+ titresults_content.push(tc.title(sub.textContent.replace(' :$',':')));
ELSIF sub.getAttribute('code') == 'b';
titresults_content.push(tc.title(sub.textContent));
ELSE;
titsubs_content = [];
FOR sub IN titsubs;
IF sub.getAttribute('code') == 'a';
- titsubs_content.push(tc.title(sub.textContent));
+ titsubs_content.push(tc.title(sub.textContent.replace(' :$',':')));
ELSIF sub.getAttribute('code') == 'b';
titsubs_content.push(tc.title(sub.textContent));
ELSE;