bryan-m-hughes/titanium_mobile — comment on commit 6723388549e533681c6d31172594e6937102e033
File: mobileweb/src/index.html line 6
By cb1kenobi:

You got the right idea, but now you need to add the actual escaping/filtering functions. So, line 6 would say:

${project_name | h,trim}

You will also need to escape properly anywhere where variables are injected inside HTML tag attributes (I believe h,trim will work) and JavaScript strings (not sure the flag, you just need to escape quotes, so maybe write a custom filter). Mako reference is here: http://www.makotemplates.org/docs/documentation.html#filtering.