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

(python) added support for literal brackets in f-strings #2195

Merged
merged 3 commits into from Oct 13, 2019

Conversation

tom-p-reichel
Copy link
Contributor

@tom-p-reichel tom-p-reichel commented Oct 13, 2019

Noticed that highlightjs does not correctly handle literal curly brackets in f-strings like these: f"{{ }}", submitted a pull.

@joshgoebel
Copy link
Member

Awesome. Any chance you could look at #1809 also?

Your so close. 🙂

@joshgoebel
Copy link
Member

Please update change log also?

@joshgoebel joshgoebel added enhancement An enhancement or new feature language labels Oct 13, 2019
@joshgoebel joshgoebel added this to the 9.15.11 milestone Oct 13, 2019
@joshgoebel joshgoebel self-requested a review October 13, 2019 20:01
@@ -22,6 +22,9 @@ function(hljs) {
keywords: KEYWORDS,
illegal: /#/
};
var LITERAL_BRACKET = {
begin: /\{\{/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add relevance 0.

@joshgoebel joshgoebel merged commit 9646eb0 into highlightjs:master Oct 13, 2019
@joshgoebel
Copy link
Member

@tom-p-reichel thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature language
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants