Ensure that markup is a tuple.

`self.markup` is a list when using the `-m|--markup` cli option, but testing the
extension with `endswith` works only with tuples.
Merge pull request #898 from saimn/fix-markup-cli

Ensure that markup is a tuple.