change div to span, fix regular exp bug