Commit f3418d6c authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1779586: Update the copied page description correctly



We need to run it thru the EmbeddedImage::prepare_embedded_images()
function

behatnotneeded

Change-Id: I29c8375249d3b57ec0c7999751ebcd06bdd2e95e
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 09f8cbb4
......@@ -5903,7 +5903,8 @@ class View {
$this->set('description', '');
}
else {
$this->set('description', $this->copy_description($template, $artefactcopies));
require_once('embeddedimage.php');
$this->set('description', EmbeddedImage::prepare_embedded_images($this->copy_description($template, $artefactcopies), 'description', $this->get('id')));
}
$this->set('tags', $template->get('tags'));
$this->set('columnsperrow', $template->get('columnsperrow'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment