RSS Feed/News Less templates appear to be in strict maths mode (ie more parentheses)

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
20,119
Points
823

Reputation:

pegasus said:
Math expressions in .less templates seem to now require being wrapped by parentheses e.g.
Code:

property: (0.8 * @xf-style-property);
Previously this was only necessary if the expression was ambiguous (such as multiple padding values).
Click to expand...
pegasus
I haven't seen this reported as a bug.

But this makes porting less to XF2.3 quite annoying as it is unsure when existing less will work as-is or just fails silently.

Continue reading...
 
Status
Not open for further replies.
Top