moved parsing to happen before old inline images