XWIKI-10168: Source metadata should be set to a document reference after parsing any content related to a document