https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

--- Comment #2 from Marc VĂ©ron <[email protected]> ---
(In reply to Jonathan Druart from comment #1)
> It happens when TT directive are on several lines.
> I tried to fix C4::TTParser::text but failed.
> I don't know how to fix this one correctly.

Hi Jonathan,

C4/TTParser.pm, line 78 has following regex:
\[%.*?%]
. (dot) is (any character exept newline.

I evaluated some possipilities with http://regexr.com/

It seems that the following could work:
\[%[\s\S]*?%]

What do you think about?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to