Commit 3a8e5ed
Fix interpolation of string with number followed by underscore
This was fixed upstream in Less.js v2.6.0. I caught this during
a review of the nearby parseEntitiesDimension as part of T403056.
Remove the unneeded "@" silence operator from the ord() call.
This was added in 2013 with commit 51e29cb to deal with null
when the position has reached outside the bounds of $this->input.
A better fix was added in Ie8d5da3ed4 (67807cb) using `?? ''`,
which removes the need for error silencing, because it is now always
passed a string.
Ref less/less.js#2462
Ref oyejorge#293
Change-Id: I968056b7e45c9752b8ce3833979729ac8230dc6d1 parent cd0ab1e commit 3a8e5ed
File tree
3 files changed
+22
-9
lines changed- lib/Less
- test/Fixtures/less.php
- css
- less
3 files changed
+22
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1554 | 1554 | | |
1555 | 1555 | | |
1556 | 1556 | | |
| 1557 | + | |
1557 | 1558 | | |
1558 | 1559 | | |
1559 | 1560 | | |
| |||
1573 | 1574 | | |
1574 | 1575 | | |
1575 | 1576 | | |
| 1577 | + | |
1576 | 1578 | | |
1577 | 1579 | | |
1578 | | - | |
1579 | | - | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
1580 | 1586 | | |
1581 | | - | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
1582 | 1590 | | |
1583 | 1591 | | |
1584 | | - | |
1585 | | - | |
| 1592 | + | |
1586 | 1593 | | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
| 1594 | + | |
1591 | 1595 | | |
1592 | 1596 | | |
1593 | 1597 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments