Trim empty spaces.
Open links in new tabs.