{"action":"created","issue":{"url":"https://api.github.com/repos/revolunet/sublimetext-markdown-preview/issues/368","repository_url":"https://api.github.com/repos/revolunet/sublimetext-markdown-preview","labels_url":"https://api.github.com/repos/revolunet/sublimetext-markdown-preview/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/revolunet/sublimetext-markdown-preview/issues/368/comments","events_url":"https://api.github.com/repos/revolunet/sublimetext-markdown-preview/issues/368/events","html_url":"https://github.com/revolunet/sublimetext-markdown-preview/issues/368","id":184671879,"number":368,"title":"[Bug] DeprecationWarning: cgi.escape is deprecated, use html.escape instead","user":{"login":"Kristinita","id":17247677,"avatar_url":"https://avatars.githubusercontent.com/u/17247677?v=3","gravatar_id":"","url":"https://api.github.com/users/Kristinita","html_url":"https://github.com/Kristinita","followers_url":"https://api.github.com/users/Kristinita/followers","following_url":"https://api.github.com/users/Kristinita/following{/other_user}","gists_url":"https://api.github.com/users/Kristinita/gists{/gist_id}","starred_url":"https://api.github.com/users/Kristinita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kristinita/subscriptions","organizations_url":"https://api.github.com/users/Kristinita/orgs","repos_url":"https://api.github.com/users/Kristinita/repos","events_url":"https://api.github.com/users/Kristinita/events{/privacy}","received_events_url":"https://api.github.com/users/Kristinita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-23T05:11:06Z","updated_at":"2016-10-23T15:17:14Z","closed_at":null,"body":"### Summary\r\n\r\nToday I can not convert Markdown to HTML use MarkdownPreview. \r\n\r\n### Expected behavior\r\n\r\nSuccessful conversion.\r\n\r\n### Actual behavior\r\n\r\n```\r\ncommand: markdown_preview_select {\"target\": \"save\"}\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.\r\nE:\\Sublime Text 3\\Data\\Installed Packages\\Markdown Preview.sublime-package\\MarkdownPreview.py:739: DeprecationWarning: cgi.escape is deprecated, use html.escape instead\r\n```\r\n\r\n### Steps to reproduce\r\n\r\nI remove all settings of my `User\\MarkdownPreview.sublime-settings` file.\r\n\r\nFor example, I have markdown file:\r\n\r\n```markdown\r\n1. [Description](#description)\r\n1. [Support](#support)\r\n    1. [Platforms](#platforms)\r\n    1. [Sublime Text](#sublime-text)\r\n\r\n## Support\r\n\r\n### Platforms\r\n\r\nWindows, macOS, Linux.\r\n\r\n```\r\n\r\nI open my markdown file → in the tab where open my Markdown file, <kbd>Ctrl+Shift+P</kbd> → `Markdown Preview: Export HTML In Sublime Text` → `markdown` → I get errors in console, I no get conversion.\r\n\r\n### Environment\r\n\r\n**Operating system and version:**\r\nWindows 10.0.14393\r\n**Sublime Text:**\r\nBuild 3126\r\n\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/revolunet/sublimetext-markdown-preview/issues/comments/255594261","html_url":"https://github.com/revolunet/sublimetext-markdown-preview/issues/368#issuecomment-255594261","issue_url":"https://api.github.com/repos/revolunet/sublimetext-markdown-preview/issues/368","id":255594261,"user":{"login":"facelessuser","id":1055125,"avatar_url":"https://avatars.githubusercontent.com/u/1055125?v=3","gravatar_id":"","url":"https://api.github.com/users/facelessuser","html_url":"https://github.com/facelessuser","followers_url":"https://api.github.com/users/facelessuser/followers","following_url":"https://api.github.com/users/facelessuser/following{/other_user}","gists_url":"https://api.github.com/users/facelessuser/gists{/gist_id}","starred_url":"https://api.github.com/users/facelessuser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facelessuser/subscriptions","organizations_url":"https://api.github.com/users/facelessuser/orgs","repos_url":"https://api.github.com/users/facelessuser/repos","events_url":"https://api.github.com/users/facelessuser/events{/privacy}","received_events_url":"https://api.github.com/users/facelessuser/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T15:17:14Z","updated_at":"2016-10-23T15:17:14Z","body":"This doesn't make sense as an error.  The error seems to be complaining about Python 2, but we are using Python 3.3 in the Sublime Text 3 environment.  I feel like something else as imported something from Python 2 into your environment.  Maybe download a Portable Sublime Text 3 version and just install Markdown Preview, I suspect there will be no issues."}}
{"actor":{"display_login":"facelessuser"}}