Fix for extended image url handling in markdown