{"action":"opened","issue":{"url":"https://api.github.com/repos/bolt/bolt/issues/2934","labels_url":"https://api.github.com/repos/bolt/bolt/issues/2934/labels{/name}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/2934/comments","events_url":"https://api.github.com/repos/bolt/bolt/issues/2934/events","html_url":"https://github.com/bolt/bolt/issues/2934","id":58873085,"number":2934,"title":"Field name end with a '.' (dot) causes Twig syntax error","user":{"login":"Leon0824","id":1922026,"avatar_url":"https://avatars.githubusercontent.com/u/1922026?v=3","gravatar_id":"","url":"https://api.github.com/users/Leon0824","html_url":"https://github.com/Leon0824","followers_url":"https://api.github.com/users/Leon0824/followers","following_url":"https://api.github.com/users/Leon0824/following{/other_user}","gists_url":"https://api.github.com/users/Leon0824/gists{/gist_id}","starred_url":"https://api.github.com/users/Leon0824/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leon0824/subscriptions","organizations_url":"https://api.github.com/users/Leon0824/orgs","repos_url":"https://api.github.com/users/Leon0824/repos","events_url":"https://api.github.com/users/Leon0824/events{/privacy}","received_events_url":"https://api.github.com/users/Leon0824/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T09:23:43Z","updated_at":"2015-02-25T09:23:43Z","closed_at":null,"body":"In case of a field whose name is end with a '.' (dot), It causes Twig syntax error while accessing the field in templates. Maybe add a filter?\r\n\r\n**contenttypes.yml:**\r\n```YAML\r\nfields:\r\n    model-no.:\r\n        label: Model No.\r\n        type: text\r\n        class: narrow\r\n        variant: inline\r\n```\r\n\r\n**index.twig:**\r\n```Twig\r\n{{ record.model-no. }}\r\n```"}}