mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
test-highlight: add normalization rule for Pygments 2.1
It appears that several classes have 'h', '1', '2' suffixes on Pygments 2.1, which is the current version on Debian sid.
This commit is contained in:
parent
03e498741f
commit
daa7a50011
@ -12,7 +12,8 @@
|
||||
|
||||
$ filterhtml () {
|
||||
> sed -e "s/class=\"k\"/class=\"kn\"/g" \
|
||||
> -e "s/class=\"mf\"/class=\"mi\"/g"
|
||||
> -e "s/class=\"mf\"/class=\"mi\"/g" \
|
||||
> -e "s/class=\"\([cs]\)[h12]\"/class=\"\1\"/g"
|
||||
> }
|
||||
|
||||
create random Python file to exercise Pygments
|
||||
|
Loading…
Reference in New Issue
Block a user