I'm writing a script to generate a custom data type for a PLC using Python and etree. The description text has a quite peculiar format using angle brackets and square brackets. For some reason I can't seem to get it to not convert the beginning less than symbol into an HTML entity character. Single or Double Quotes don't matter. Using a `\` to escape it gives an invalid escape character error. I'm confused.

