Lines 157-162
sub process_tt_block {
Link Here
|
157 |
# Already has url or uri filter |
157 |
# Already has url or uri filter |
158 |
or $tt_block =~ m{\|\s?ur(l|i)} |
158 |
or $tt_block =~ m{\|\s?ur(l|i)} |
159 |
|
159 |
|
|
|
160 |
# Already has trim filter |
161 |
or $tt_block =~ m{\|\s?trim} |
162 |
|
160 |
# Specific for [% foo UNLESS bar %] |
163 |
# Specific for [% foo UNLESS bar %] |
161 |
or $tt_block =~ m{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)} |
164 |
or $tt_block =~ m{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)} |
162 |
; |
165 |
; |
163 |
- |
|
|