Strip truncated text before adding ellipsis.
@@ -20,7 +20,7 @@ def _truncate_title(title: str, length: int = 30) -> str:
return title[:length]
if len(title) <= length:
return title
return title[:length-3] + (title[length:] and '...')
return title[:length-3].strip() + (title[length:] and '...')
def get_yt_creds():
The note is not visible to the blocked user.