workaround for code after list bug in markdown