oerpub/Aloha-Editor — pull request #35 by bnwest (2013-07-09 13:52:05+00:00)
Title: refs #465: only put <P> element around orphaned media/image elements

We were unconditionally creating a

wrapper when we "deactivated" within the image plugin. Added a check to make sure a legal parent for the media/image was missing, before adding the

wrapper.