fixed broken asset insertion. the usecase incorrectly used a path-based uri instead of an uuid-based one, which broke the "documentLink" format of the resources module. changed asset wrapper from <p> to <span>, because spans are correct almost everywhere, whereas <p>s cannot be contained in <p>s or inline elements.
Changed paths: