[CLOUD] Markdown preview engine doesn't update urls used for image rendering when the link changes

Description

Since the repository details aren't being updated when the url change happens, the image preview breaks. See this gif for the reproduction (near the end): http://g.recordit.co/eJTr4wKiQy.gif

Essentially have one markdown that uses public images, and one that uses private, hosted in different repositories. Change the url and click the refresh button and the images won't load.

Environment

None

Assignee

Unassigned

Reporter

Mohammed Davoodi

Sprint

None

Labels

None

Priority

Medium
Configure