nette/nette — Issue #519: Latte: Context-aware escaping bug style attr
Author: HosipLan
Created: 2012-02-07 10:23:22+00:00
State: open

Tento latte zápis:

{if $data['color']}style="color: {$data['color']};"{/if}

Vygeneruje tento kód:

style="color: \#666666;"

zdroj: http://forum.nette.org/cs/9806-context-aware-escaping-bug#p72341