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

Require \[text]color HTML colors to be well-formed. #827

Merged
merged 1 commit into from
Aug 29, 2017

Conversation

marcianx
Copy link
Collaborator

@marcianx marcianx commented Aug 29, 2017

Previously, the parser accepted all letters of the
alphabet for hex digits in HTML colors, and allowed any
number of digits. Now, only well-formed HTML hex colors
are allowed.

fixes #825

Previously, the parser accepted all letters of the
alphabet for hex digits in HTML colors, and allowed any
number of digits. Now, only well-formed HTML hex colors
are allowed.
@khanbot
Copy link

khanbot commented Aug 29, 2017

Hey @marcianx,

Thanks for the PR! Mind signing our Contributor License Agreement?

When you've done so, go ahead and comment [clabot:check] and I'll check again.

Yours truly,
khanbot

@kevinbarabash
Copy link
Member

I'm ignoring khanbot b/c it doesn't know how to verify people from organizations who have signed.

Copy link
Member

@kevinbarabash kevinbarabash left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for updating the tests.

@kevinbarabash kevinbarabash merged commit be60165 into KaTeX:master Aug 29, 2017
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.

Color regex seems too permissive
3 participants