Resolved issue with sup+sub script tags

fix to display sup+sub scripts correctly (thanks rossengeorgiev & dmur)