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

[Diet] Diet compiler adds additional quotes to literals #1021

NCrashed opened this Issue Mar 17, 2015 · 1 comment


None yet
1 participant

NCrashed commented Mar 17, 2015

Version: 0.7.23-rc1


    "name" : "test",
    "dependencies" : {
        "vibe-d": "~>0.7.23-rc.1"
    "versions": ["VibeDefaultMain"]


import vibe.http.server;
import vibe.http.router;

void handleMainPage(HTTPServerRequest req,
                   HTTPServerResponse res)
    res.render!("index.dt", req);

shared static this() 
    auto router = new URLRouter;
    router.get("/", &handleMainPage);

    auto settings = new HTTPServerSettings;
    settings.bindAddresses = [""];
    settings.port = 8080;

    listenHTTP(settings, router);


doctype html
html( lang="en" )

Html output:

<!DOCTYPE html>
<html lang="en&quot;"></html>

@s-ludwig s-ludwig closed this in c8f53e0 Mar 17, 2015


This comment has been minimized.

Show comment
Hide comment

NCrashed Mar 17, 2015


Thank you! It's really amazingly fast


NCrashed commented Mar 17, 2015

Thank you! It's really amazingly fast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment