You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you look closely, you can see that the | (pipe) symbol is missing from the rendered source code.
The text was updated successfully, but these errors were encountered:
lefou
changed the title
Rendieging of example projects removes the | from scala code
Rendering of example projects removes the | from scala code
Feb 12, 2025
lefou
added a commit
to lefou/mill
that referenced
this issue
Feb 12, 2025
Since we use Scala string intrpolation as a low cost template engine,
we need to avoid `.stripMargin`, as it may over-eager strim margin symbols
from the interpolated variables.
Fixcom-lihaoyi#4542
#4544)
Since we use Scala string intrpolation as a low cost template engine,
we need to avoid `.stripMargin`, as it may over-eager strip margin
symbols
from the interpolated variables.
Fix#4542
Pull request: #4544
As an example, see example project
example/javascriptlib/module/1-common-config/build.mill
, which contains the following snippet:It's rendered as follows:
https://mill-build.org/mill/main-branch/javascriptlib/module-config.html
If you look closely, you can see that the
|
(pipe) symbol is missing from the rendered source code.The text was updated successfully, but these errors were encountered: