Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected typo in Vue plugin setting detectedLanguage #2807

Merged
merged 4 commits into from Nov 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.txt
Expand Up @@ -296,3 +296,4 @@ Contributors:
- Fredrik Ekre <ekrefredrik@gmail.com>
- Jan Pilzer <Hirse@github>
- Jonathan Sharpe <mail@jonrshar.pe>
- Michael Rush <michaelrush@gmail.com>
7 changes: 6 additions & 1 deletion CHANGES.md
@@ -1,6 +1,10 @@
## Version 10.4.0 (work in process)

New languages:
Parser:

- fix(vue): Language name now appears in CSS class (#2807) [Michael Rush][]

New Languages:

- Added Chapel grammar to SUPPORTED_LANGUAGES (#2806) [Brad Chamberlain][]

Expand Down Expand Up @@ -29,6 +33,7 @@ New themes:
[Taufik Nurrohman]: https://github.com/taufik-nurrohman
[Jan Pilzer]: https://github.com/Hirse
[Jonathan Sharpe]: https://github.com/textbook
[Michael Rush]: https://github.com/rushimusmaximus


## Version 10.3.1
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vue.js
Expand Up @@ -33,7 +33,7 @@ export const Component = {
this.detectedLanguage = result.language;
} else {
result = hljs.highlight(this.language, this.code, this.ignoreIllegals);
this.detectectLanguage = this.language;
this.detectedLanguage = this.language;
}
return result.value;
},
Expand Down