Lines 161-166
sub process_tt_block {
Link Here
|
161 |
# Already has trim filter |
161 |
# Already has trim filter |
162 |
or $tt_block =~ m{\|\s?trim} |
162 |
or $tt_block =~ m{\|\s?trim} |
163 |
|
163 |
|
|
|
164 |
# Already has safe_url filter |
165 |
or $tt_block =~ m{\|\s?safe_url} |
166 |
|
164 |
# Specific for [% foo UNLESS bar %] |
167 |
# Specific for [% foo UNLESS bar %] |
165 |
or $tt_block =~ m{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)} |
168 |
or $tt_block =~ m{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)} |
166 |
; |
169 |
; |
167 |
- |
|
|