change logic to replace <match> with <strong> after trimTitle