-- Fix for when the user creates a link after selecting the text from right to left