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)
- extend Authentication methods with an api
- Preview of big office asset displays error HOT 1
- jsreport/jsreport docker 4.2.0 image affected by CVE-2023-32559
- [Bug]: Docx html with nested ul/li, not rendering/ordered properly HOT 2
- Full profiling fails when using AuthorizationServer account with no jsreport user defined. HOT 4
- pdfAddPageItem doesn't await async input
- CVE-2021-42740 due to old version of ejs in jsreport-authentication
- 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
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.