commit 73a105bd5b5d72ba2980bbcf0ce686966cafd586
Author: Robert Lyon <email address hidden>
Date: Wed Dec 27 15:09:42 2017 +1300
Bug 1740208: Fetch related view for artefacts we can see
Fix the way we find the related views now that we don't have a 'view'
type to restrict to. We can achieve this via the internal '_id' value
as that is a combination of old type and id values.
Also strip tags except the <span> one from highlighted description code
in case there is bad html/js in there.
behatnotneeded
Change-Id: I962accadb352b52dd72b61844f7fe0bd0d586ce2
Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/8379 /git.mahara. org/mahara/ mahara/ commit/ 73a105bd5b5d72b a2980bbcf0ce686 966cafd586
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 73a105bd5b5d72b a2980bbcf0ce686 966cafd586
Author: Robert Lyon <email address hidden>
Date: Wed Dec 27 15:09:42 2017 +1300
Bug 1740208: Fetch related view for artefacts we can see
Fix the way we find the related views now that we don't have a 'view'
type to restrict to. We can achieve this via the internal '_id' value
as that is a combination of old type and id values.
Also strip tags except the <span> one from highlighted description code
in case there is bad html/js in there.
behatnotneeded
Change-Id: I962accadb352b5 2dd72b61844f7fe 0bd0d586ce2
Signed-off-by: Robert Lyon <email address hidden>