Skip to content

HTML.format specifiers #1566

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

Merged
merged 3 commits into from
Feb 10, 2022

Conversation

tapple
Copy link
Contributor

@tapple tapple commented Feb 10, 2022

html_escape parameters after formatting, not before

Allows things like HTML("{.3f}").format(3.14159)

@jonathanslenders jonathanslenders merged commit e78e652 into prompt-toolkit:master Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants