[BUGFIX] Fix every-other foreach issue in markdown decorator