markup.py: fix Python 3.x bug (Minor update)