defunkt/pystache — Issue #66: RenderEngine should operate only on unicode strings
Author: cjerdonek
Created: 2011-12-24 09:09:14+00:00
State: open

When markupsafe is importable, RenderEngine mixes operations between Markup strings and unicode strings. This can (and has) lead to subtle double-escaping and related bugs, etc. For clarity, RenderEngine should probably operate exclusively on unicode strings. The conversion to Markup can take place afterwards.

We should also increase our test coverage to check for double-escaping and related issues when markupsafe is enabled.