Don't escape HTML characters in shader generation

This tells Mustache not to escape <, >, &, and " characters.
This commit is contained in:
Tom Payne
2013-04-29 11:18:48 +02:00
parent ca7081bde3
commit 14da0cfd11

View File

@@ -20,14 +20,14 @@ goog.addSingletonGetter({{className}}Fragment);
* @const
* @type {string}
*/
{{className}}Fragment.DEBUG_SOURCE = 'precision mediump float;\n{{getOriginalFragmentSource}}';
{{className}}Fragment.DEBUG_SOURCE = 'precision mediump float;\n{{{getOriginalFragmentSource}}}';
/**
* @const
* @type {string}
*/
{{className}}Fragment.OPTIMIZED_SOURCE = 'precision mediump float;{{getFragmentSource}}';
{{className}}Fragment.OPTIMIZED_SOURCE = 'precision mediump float;{{{getFragmentSource}}}';
/**
@@ -55,14 +55,14 @@ goog.addSingletonGetter({{className}}Vertex);
* @const
* @type {string}
*/
{{className}}Vertex.DEBUG_SOURCE = '{{getOriginalVertexSource}}';
{{className}}Vertex.DEBUG_SOURCE = '{{{getOriginalVertexSource}}}';
/**
* @const
* @type {string}
*/
{{className}}Vertex.OPTIMIZED_SOURCE = '{{getVertexSource}}';
{{className}}Vertex.OPTIMIZED_SOURCE = '{{{getVertexSource}}}';
/**