Dear all,
I use int tags to translate my form titles which causes messed up titles like: "Create Page|edit title=Edit Page"
reproduce:
{{{info|create title={{int:any-label}}|edit title={{int:any-label}}|page name=Any page <unique number>}}}then edit or create a page with this form;
i looked into this issue and assume that the regex pattern ({{.*)\|(.*}}) in PFUTILS::getFormTagComponents() replaces pipes from the info tag itself with \1 in my case; the modified string is then passed on without these necessary pipes to PFUTILS::smartSplitFormTag( ), then replaces the \1 with pipes again; the result confuses the PFFormPrinter in about line 1393 which leads to a messed up form title
the regex matches the outer curly braces and does not account for separate ones --- in my example above the match is: {{int:any-label}}|edit title={{int:any-label}} instead of none;
i am neither familiar with your code base nor fit enough to provide an alternative regex pattern allowing to keep the code as it is; alternatively i can only think of looping through matches of {{[^}]+}} and look for pipes there and then join them back to a single $str to feed PFUTILS::smartSplitFormTag()
happy to provide support with this one, if needed