{"action":"opened","issue":{"url":"https://api.github.com/repos/statamic/v2-hub/issues/1112","repository_url":"https://api.github.com/repos/statamic/v2-hub","labels_url":"https://api.github.com/repos/statamic/v2-hub/issues/1112/labels{/name}","comments_url":"https://api.github.com/repos/statamic/v2-hub/issues/1112/comments","events_url":"https://api.github.com/repos/statamic/v2-hub/issues/1112/events","html_url":"https://github.com/statamic/v2-hub/issues/1112","id":189954540,"number":1112,"title":"remove_left modifier does not work with hash/pound sign character","user":{"login":"alexroper","id":377542,"avatar_url":"https://avatars.githubusercontent.com/u/377542?v=3","gravatar_id":"","url":"https://api.github.com/users/alexroper","html_url":"https://github.com/alexroper","followers_url":"https://api.github.com/users/alexroper/followers","following_url":"https://api.github.com/users/alexroper/following{/other_user}","gists_url":"https://api.github.com/users/alexroper/gists{/gist_id}","starred_url":"https://api.github.com/users/alexroper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexroper/subscriptions","organizations_url":"https://api.github.com/users/alexroper/orgs","repos_url":"https://api.github.com/users/alexroper/repos","events_url":"https://api.github.com/users/alexroper/events{/privacy}","received_events_url":"https://api.github.com/users/alexroper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-17T06:42:35Z","updated_at":"2016-11-17T06:42:35Z","closed_at":null,"body":"### Expected behaviour\r\n\r\nIf a variable `hashtag` has a value of `#bugs`, the remove_left modifier should be able to remove the matched hash character at the beginning of the string.\r\n\r\nFor example this code:\r\n\r\n    {{ hashtag | remove_left:# }}\r\n\r\nShould output: \r\n\r\n    bugs\r\n\r\n### Actual behaviour\r\n\r\nInstead, it doesn't remove the hash and outputs just\r\n\r\n    #bugs\r\n\r\nThis code will work tho:\r\n\r\n    {{ hashtag remove_left=\"#\" }}\r\n\r\nPossibly [similar to this issue: #271](https://github.com/statamic/v2-hub/issues/271)?\r\n\r\n### Server configuration\r\n**Operating system**: Mac OS 10.10.5\r\n\r\n**Web server:** Apache\r\n\r\n**PHP version:** 5.6.10\r\n\r\n**Statamic version:** 2.1.17\r\n\r\n**Updated from an older Statamic or fresh install:** updated\r\n\r\n**List of installed addons:** none\r\n"}}
{"actor":{"display_login":"alexroper"}}