Comments (2)
This seems like handlebar behavior. The handlebars simply add indentation to every line of the partial output line based on the indentation of the partial call line.
While this creates indentation
{{#*inline "myPartial"}}
<pre>a
b
c
</pre>
{{/inline}}
{{> myPartial }}
this doesn't
{{#*inline "myPartial"}}
<pre>a
b
c
</pre>
{{/inline}}
{{> myPartial }}
from jsreport.
Thanks @pofider !
You're right. Example:
from jsreport.
Related Issues (20)
- npm install fails
- HTML embedded in docx: <ol> not working HOT 6
- Failed to launch the browser process! HOT 1
- Performance issues HOT 2
- Unable to require jsdom HOT 1
- docxHtml: nested table support
- Node 21 Support HOT 5
- Regression in 4.3.0 - components async resolving
- [Feature]: Show url when axios error is thrown HOT 2
- [Bug]: Docx nested ul/li doesn't work properly HOT 1
- Update ejs to fix vulnerable CVE-2024-33883
- Critical XZ CVE in version 4.3.1 HOT 1
- High CVEs in version 4.3.1 HOT 1
- Errors when using PNPM HOT 3
- Async reports triggering using header
- Documentation regarding use of docker
- Error in version 4.4.0 when using pdf-utils HOT 3
- docx object uri
- Add x86 binary for osx to the build process
- Permissions - reject entities creation when no explicit permissions set HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.