Comments (3)
I need to look into this; it isn't intended.
from doctemplates.
I see why this is happening. We're using "it"
in the context map to hold the current value of the variable as we iterate through. So of course the variable in the inner loop overwrites the outer one.
Indeed, the variable we iterate on is actually replaced by "it"
in the parsing stage.
Obviously, this needs rethinking.
from doctemplates.
Thank you for the fix, and your work on pandoc in general @jgm !
from doctemplates.
Related Issues (20)
- Naming of Pipes/Filters HOT 2
- Custom Pipes HOT 8
- Feature Request: Option to include files HOT 1
- Add a variable pipe transform that removes whitespace HOT 4
- Add option to disable "default true" parameters HOT 1
- Allow translation between formats for partials HOT 9
- Error on missing context variable HOT 3
- doctemplates-0.2.1 does not compile with ghc 8.4.1 HOT 2
- Feature : Add some functions that can be used in the pipe
- Dynamic partials possible?
- Is there a way to check if length > 1? HOT 1
- Error using partials with no extension when output format is beamer
- Custom delimiters (use a character other than '$') HOT 3
- conversion from JSON values - is it possible to force it? HOT 1
- Misleading error message for unmatched template conditionals HOT 8
- add timestamp support in markdown variables HOT 1
- Add ability to iterate over key/value pairs in a map
- Module ‘Data.YAML’ does not export ‘ToYAML(..)’ HOT 1
- Overlapping instances 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 doctemplates.