refs #465: only put <P> element around orphaned media/image elements
Merge pull request #35 from oerpub/ticket465

refs #465: only put <P> element around orphaned media/image elements