Fixes T11567. This way people can use things like sans-serif and -webkit-small-control for their "monospaced" font
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T11567: Allow dashes in monospace font preferences
- Commits
- rPf712ae718ccc: Added `-` to the whitelist for CSS rules
I added the hyphen to the regex then was able to set my Monospaced Font to be anything with a hyphen in it.
I also tried to break it pretty extensively, but couldn't find anything that would let me write malicious CSS or JS.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable