Comments (4)
Hi there,
Thanks for opening the issue. This looks to be to do with how we handle the indenting with partial templates. Thank you for the reproduction I should be able to have a test and look at a clean way to handle this shortly.
If you'd like to look at where the issue is occurring then i'd be more than happy to help you contribute a fix.
Thanks!
from stubble.
Hi @StarLeafRob,
I found some time this weekend to look at this. It seems to be related to the way we try to fold literal tags during parsing when they're next to each other to simplify the rendering. This wasn't taking indenting into account correctly and will now only fold tags that are the same indent level which solves the problem.
Thanks for reporting it and i'll try get a bug fix out for this shortly.
from stubble.
I see, thank you for the explanation (and the speedy fix) - I was away for a few days after I reported it, but a heroic effort to fix it before I even got a chance to look at it!
from stubble.
This has now been released in version 1.2 on nuget. Thanks very much for your contribution! 👍
from stubble.
Related Issues (20)
- Compiled renderer evaluating int? truthy value incorrectly HOT 1
- Get output as object rather than string from Render HOT 4
- Render a tag correctly however it is null! HOT 1
- Not compatible with .Net standard 2.1 and .Net Core 3.1 HOT 3
- SetIgnoreCaseOnKeyLookup does not work HOT 2
- An attribute in the template is "User.Name" Parse error HOT 1
- Parent nested object access HOT 2
- Render pipeline is not passed to partials HOT 1
- Execute method with parameter's default value HOT 4
- Add Cake plugin
- Compiled renderer throws exception when compiling interpolated nullable int HOT 1
- Truthiness on a Dictionary<string, object> HOT 5
- PartialTagParser exhaustion side effect?!
- [Question/Discussion] Rework of the Parser to support more information on its output
- Anonymous object property is not retrieved HOT 4
- Please add Extensions Setting Support for system.text.json HOT 1
- How to count number of variables in a template ?
- Non English character problem for placeholders HOT 2
- System.Security.VerificationException: Operation could destabilize the runtime. HOT 2
- Vue-email-editor relies on external iframe source, problematic for intranet environments 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.
from stubble.