added pathologic to overcome media + ckeditor absolute path references