Vid 1979 Parsing links in captions and updating link color

For better readability, let's move initialization of parser here since it is only needed in this block.