{"action":"closed","issue":{"url":"https://api.github.com/repos/penibelst/jekyll-compress-html/issues/50","labels_url":"https://api.github.com/repos/penibelst/jekyll-compress-html/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/penibelst/jekyll-compress-html/issues/50/comments","events_url":"https://api.github.com/repos/penibelst/jekyll-compress-html/issues/50/events","html_url":"https://github.com/penibelst/jekyll-compress-html/issues/50","id":91786619,"number":50,"title":"Property for easily replacing strings","user":{"login":"leo","id":6170607,"avatar_url":"https://avatars.githubusercontent.com/u/6170607?v=3","gravatar_id":"","url":"https://api.github.com/users/leo","html_url":"https://github.com/leo","followers_url":"https://api.github.com/users/leo/followers","following_url":"https://api.github.com/users/leo/following{/other_user}","gists_url":"https://api.github.com/users/leo/gists{/gist_id}","starred_url":"https://api.github.com/users/leo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo/subscriptions","organizations_url":"https://api.github.com/users/leo/orgs","repos_url":"https://api.github.com/users/leo/repos","events_url":"https://api.github.com/users/leo/events{/privacy}","received_events_url":"https://api.github.com/users/leo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-29T12:12:10Z","updated_at":"2015-06-29T13:24:36Z","closed_at":"2015-06-29T13:24:36Z","body":"Could you please add a property which allows us to set specific strings which will then be replaced before the HTML is outputted? Maybe something like this (replaces \"Apple\" with \"Orange\", as well as \"Bread\" with \"Butter\") would be fitting:\r\n\r\n```yml\r\nreplace: [\r\n    [ 'Apple', 'Orange' ],\r\n    [ 'Bread', 'Butter' ]\r\n]\r\n```\r\n\r\nor **what I would like even more** (I'm not sure how objects are built in YAML):\r\n\r\n```yml\r\nreplace: {\r\n    'Apple': 'Orange',\r\n    'Bread': 'Butter'\r\n}\r\n```\r\n\r\nI know some really great use-cases for this.\r\n\r\nFor example, there's a very nasty problem with the footnote-icon: It's is getting converted into a Emoji on all devices running iOS. I already contacted the guys over at Jekyll and they - in turn - told me that I had to open an issue on the markdown processor (which I did, but it wasn't accepted. The reason: \"Apple introduced this problem and therefore should also fix it\") - see [this issue][1].\r\n\r\nWhat do you think? Is it possible to implement this?\r\n\r\n[1]: https://github.com/gettalong/kramdown/pull/261"}}