{"action":"opened","issue":{"url":"https://api.github.com/repos/learnfwd/lfa/issues/151","labels_url":"https://api.github.com/repos/learnfwd/lfa/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/learnfwd/lfa/issues/151/comments","events_url":"https://api.github.com/repos/learnfwd/lfa/issues/151/events","html_url":"https://github.com/learnfwd/lfa/issues/151","id":90995269,"number":151,"title":"Error with automatically adding / removing body classes","user":{"login":"paulbalogh","id":1029610,"avatar_url":"https://avatars.githubusercontent.com/u/1029610?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbalogh","html_url":"https://github.com/paulbalogh","followers_url":"https://api.github.com/users/paulbalogh/followers","following_url":"https://api.github.com/users/paulbalogh/following{/other_user}","gists_url":"https://api.github.com/users/paulbalogh/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbalogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbalogh/subscriptions","organizations_url":"https://api.github.com/users/paulbalogh/orgs","repos_url":"https://api.github.com/users/paulbalogh/repos","events_url":"https://api.github.com/users/paulbalogh/events{/privacy}","received_events_url":"https://api.github.com/users/paulbalogh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-25T15:26:00Z","updated_at":"2015-06-25T15:26:00Z","closed_at":null,"body":"As you navigate though the chapters, body keeps all classes, not only the relevant one.\r\nSuppose you have this structure\r\n```\r\n/text/01-something.jade\r\n/text/02-something/00-cover.jade\r\n```\r\n\r\nWhen you visit first chapter you have `<body class='01-something' >`\r\nBut when you progress to the second chapter intead of having `<body class='02-something 00-cover'>` you have `<body class='01-something 02-something 00-cover'>` Hence you cannot target only the classes in the first chapter."}}