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

two consecutive strings join together #99

Closed
rafiki270 opened this issue Mar 25, 2018 · 2 comments
Closed

two consecutive strings join together #99

rafiki270 opened this issue Mar 25, 2018 · 2 comments
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@rafiki270
Copy link
Member

rafiki270 commented Mar 25, 2018

When I do Hi #(user.firstname) #(user.lastname) I get Hi LemmyKilmister instead of Hi Lemmy Kilmister

using:

let leaf = try req.make(LeafRenderer.self)
let context = model ?? [String: String]()
let output = leaf.render(template: data, context)
@tanner0101 tanner0101 added the bug Something isn't working label Mar 27, 2018
@tanner0101 tanner0101 self-assigned this Mar 27, 2018
@rafiki270
Copy link
Member Author

rafiki270 commented Apr 18, 2018

Don’t want to forget this place: https://github.com/vapor/leaf/blob/master/Sources/Leaf/Parser/LeafParser.swift#L129

Suspecting the fishy stuff to be around here?

@tanner0101 tanner0101 added this to the 3.0.0 milestone Aug 8, 2018
@tanner0101
Copy link
Member

Fixed in #122. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Vapor 3
  
Awaiting triage
Development

No branches or pull requests

2 participants