core-5802 fix markdown rendering with external css