bugfix #23: decode before calling markdown.markdown