-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: escape
html argument in Styler.format
#40437
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, minor comment. ping on green.
cc @jnothman if comments. |
also checks are failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
when fixing these I noticed that the so I refactored to fix this and added a test for it. @jreback ping is green. |
this should be good to go in now, I believe. |
thanks @attack68 |
Adds an HTML
escape
parameter toStyler.format
, which acts to escape the data value before it is passed to a formatter.For example,
Styler.format('<a href="a.com/{0}">{0}</a>', escape=True)
will not escape the HTML as part of the formatting function, it will only escape the value{0}
going into the formatter.