Changed handling of multi-line inline markdown links contains newlines to format associated reference links as a single line.