replace all '---'s for line separating with '***'