First Last Prev Next    No search results available
Details
: double brackets not working with %cc(name,bracketMail(ang...
Bug#: 26100
: smarttemplate4
: General
Status: ASSIGNED
Resolution:
: PC
: Windows NT
: unspecified
: P2
: normal
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Howard Joyce <hjoyce@ceicinc.com>
Assigned To: Axel Grude <axel.grude@gmail.com>

Attachments
1.2 prerelease 23 (372.47 KB, application/x-xpinstall)
2015-10-26 08:55, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2015-10-26 07:30
double square brackets work with the bracketMail(ang))

1- [[ <b>Cc:</b> %cc(name,bracketMail(angle))%]]
2- [[ <b>Cc:</b> %cc(name)%]]

Line one did not worked and line two did
------- Comment #1 From Axel Grude 2015-10-26 08:40:51 -------
I have retitled the bug to be clearer. Can you describe what happens exactly
when you use 

[[ %cc(name,bracketMail(angle))% ]]

"Did not work" is not a good description of what happened, what exactly does
SmartTemplate4 do?

Also please make sure not to have any extra space " " characters between the
arguments within ( .. ) - it was wrong in the title of the bug
------- Comment #2 From Axel Grude 2015-10-26 08:55:56 -------
Created an attachment (id=8120) [details]
1.2 prerelease 23

Rewrote the processing for square brackets to use < > instead of [ ] for its
arguments. The old algorithm replaced

    %cc(name,bracketMail(angle))%
  with
    %cc(name,bracketMail[angle])%
  to parse which created some problems with the [[ ]] matching. Now using 
    %cc(name,bracketMail<angle>)%
  instead.

This line works for me:

[[<b>CC:     </b>%cc(name,bracketMail())% <br>]]

First Last Prev Next    No search results available