a very first version of the inline link parser