{"action":"created","issue":{"url":"https://api.github.com/repos/jadejs/jade/issues/733","labels_url":"https://api.github.com/repos/jadejs/jade/issues/733/labels{/name}","comments_url":"https://api.github.com/repos/jadejs/jade/issues/733/comments","events_url":"https://api.github.com/repos/jadejs/jade/issues/733/events","html_url":"https://github.com/jadejs/jade/issues/733","id":6078348,"number":733,"title":"Cannot prepend and append to a block all at once","user":{"login":"iamdustan","id":227879,"avatar_url":"https://avatars.githubusercontent.com/u/227879?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdustan","html_url":"https://github.com/iamdustan","followers_url":"https://api.github.com/users/iamdustan/followers","following_url":"https://api.github.com/users/iamdustan/following{/other_user}","gists_url":"https://api.github.com/users/iamdustan/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdustan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdustan/subscriptions","organizations_url":"https://api.github.com/users/iamdustan/orgs","repos_url":"https://api.github.com/users/iamdustan/repos","events_url":"https://api.github.com/users/iamdustan/events{/privacy}","received_events_url":"https://api.github.com/users/iamdustan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jadejs/jade/labels/blocks%20&%20extends","name":"blocks & extends","color":"FF8F00"},{"url":"https://api.github.com/repos/jadejs/jade/labels/bug","name":"bug","color":"ff0000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2012-08-07T13:54:53Z","updated_at":"2015-03-13T18:28:54Z","closed_at":"2013-04-25T03:52:01Z","body":"In `jade 0.26.0` attempting to do the following will append all content into the block, instead of doing the the expected prepending and appending, respectively.\n\n``` jade\nprepend scripts\n  script(src='/js/plupload/js/plupload.full.js')\n\nappend scripts\n  script(src='/js/page.js')\n```"},"comment":{"url":"https://api.github.com/repos/jadejs/jade/issues/comments/79223130","html_url":"https://github.com/jadejs/jade/issues/733#issuecomment-79223130","issue_url":"https://api.github.com/repos/jadejs/jade/issues/733","id":79223130,"user":{"login":"arpan88","id":890070,"avatar_url":"https://avatars.githubusercontent.com/u/890070?v=3","gravatar_id":"","url":"https://api.github.com/users/arpan88","html_url":"https://github.com/arpan88","followers_url":"https://api.github.com/users/arpan88/followers","following_url":"https://api.github.com/users/arpan88/following{/other_user}","gists_url":"https://api.github.com/users/arpan88/gists{/gist_id}","starred_url":"https://api.github.com/users/arpan88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpan88/subscriptions","organizations_url":"https://api.github.com/users/arpan88/orgs","repos_url":"https://api.github.com/users/arpan88/repos","events_url":"https://api.github.com/users/arpan88/events{/privacy}","received_events_url":"https://api.github.com/users/arpan88/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T18:28:54Z","updated_at":"2015-03-13T18:28:54Z","body":"Does this work inside body ? I tried to write the following\r\n\r\nlayout.jade\r\n\r\n```jade\r\ndoctype html\r\nhtml(lang=en)\r\n  head\r\n    block head\r\n        title= title\r\n        link(rel=\"stylesheet\", href=\"/stylesheets/libs/bootstrap/bootstrap.min.css\")\r\n        link(rel=\"stylesheet\", href=\"/stylesheets/fonts.min.css\")\r\n        link(rel=\"stylesheet\", href=\"/stylesheets/style.min.css\")\r\n  body\r\n    block content\r\n\r\n    script(src=\"javascripts/core/jquery-2.1.3.min.js\",type=\"text/javascript\")\r\n    script(src=\"javascripts/libs/angular/angular.min.js\",type=\"text/javascript\")\r\n    script(src=\"javascripts/libs/bootstrap/bootstrap.min.js\",type=\"text/javascript\")\r\n```\r\nand index.jade\r\n\r\n```jade\r\nextends layout\r\n\r\nprepend content\r\n  h1= title\r\n  \r\n  | Welcome to Node js application page\r\n  \r\nappend content\r\n\r\n  script(type=\"text/javascript\" src=\"abcd.js\")\r\n```\r\nbut all I got is following html\r\n\r\n```html\r\n<!DOCTYPE html>\r\n<html>\r\n   <head>\r\n      <title>Welcome to first express web app</title>\r\n      <link rel=\"stylesheet\" href=\"/stylesheets/libs/bootstrap/bootstrap.min.css\">\r\n      <link rel=\"stylesheet\" href=\"/stylesheets/fonts.min.css\">\r\n      <link rel=\"stylesheet\" href=\"/stylesheets/style.min.css\">\r\n   </head>\r\n   <body>\r\n      <h1>Welcome to first express web app</h1>\r\n      Welcome to Node js application page\r\n      <script type=\"text/javascript\" src=\"abcd.js\"></script>\r\n      <script src=\"javascripts/core/jquery-2.1.3.min.js\" type=\"text/javascript\"></script>\r\n      <script src=\"javascripts/libs/angular/angular.min.js\" type=\"text/javascript\"></script>\r\n      <script src=\"javascripts/libs/bootstrap/bootstrap.min.js\" type=\"text/javascript\"></script>\r\n   </body>\r\n</html>\r\n```\r\nWhere the new file is getting added at the first. Please tell me what I am doing wrong ? I am using jade 1.9.2"}}