Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do code blocks need a newline at the end? #26

Open
zkamvar opened this issue Oct 8, 2020 · 2 comments
Open

Why do code blocks need a newline at the end? #26

zkamvar opened this issue Oct 8, 2020 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@zkamvar
Copy link
Member

zkamvar commented Oct 8, 2020

Not a bug, but there's a condition where code blocks need a newline at the end for the last line to be processed by the stylesheet. If anyone has any xslt wizards know why this may be, it would be interesting to know (and/or fix).

I'm not sure! I think it has something to do with a fencepost problem in the stylesheet because the last line of code is accessible before it hits xslt::xml_xslt(). I think it may be worthwhile to open an issue to figure out what's going on, but probably not too high priority IMO.

Originally posted by @zkamvar in #24 (comment)

@zkamvar zkamvar added help wanted Extra attention is needed question Further information is requested labels Oct 8, 2020
@maelle
Copy link
Member

maelle commented May 17, 2021

should tinkr check there's one and add it if there's none?

@zkamvar
Copy link
Member Author

zkamvar commented May 18, 2021

This makes a lot of sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants