Fix encoding for markdown input

It seems that string.strip() only accept <str> type
so we have to encode de string to strip and decode
for store the string.

	modified:   bin/diy
	modified:   bin/parser.py
	modified:   bin/svgRender.py
	modified:   tests/elements.diy