Skip to content

Commit

Permalink
Fix #10 and #5
Browse files Browse the repository at this point in the history
Build failed due to improperly trying to access a local variable as a member attribute instead.
  • Loading branch information
facelessuser committed May 16, 2018
1 parent 10863f8 commit c609e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/src/markdown/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 2.0.1

- Fix missing code highlight extension.
- Fix build command failing.

## 2.0.0

Expand Down
2 changes: 1 addition & 1 deletion markdown_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ def run(self):

html, body = compiler.run(view, True, preview=False)

if 'build' in self.settings.get('include_head', ['build', 'browser', 'sublime', 'clipboard', 'save']):
if 'build' in settings.get('include_head', ['build', 'browser', 'sublime', 'clipboard', 'save']):
content = html
else:
content = body
Expand Down

0 comments on commit c609e96

Please sign in to comment.