drawpyo
drawpyo copied to clipboard
Move XMLBase.xmlify out of class and to a function
This doesn't need to be inherited since it makes no use of other class-owned data or functions. Move it to its own function and fix all callers.
Can you also add the following to the replacement_dict?
xmlize["\n"] = "
" # Newline
xmlize["\t"] = "	" # Tab
xmlize["\r"] = "
" # Carriage return