Skip to content

Commit 227a944

Browse files
committed
Small improvements for the patch readme
1 parent a4370cd commit 227a944

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/lexbor/patches/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ This contains the following patch files in mailbox format.
2424
A PHP specific patch to remove CSS style and selector bindings from the Lexbor document.
2525

2626
**Note** for this patch the utilities to generate the tables are also patched.
27-
Make sure to apply on a fresh Lexbor clone and run (in `lexbor/utils/encoding`): `python3 single-byte.py` and `python3 multi-byte.py` to generate the tables.
28-
Also run `python3 tokenizer_entities_bst.py` to generate the static binary search tree for entities.
27+
Make sure to apply on a fresh Lexbor clone and run (in `lexbor/utils/encoding`): `python3 single-byte.py` to generate the tables.
28+
Also run (in `lexbor/utils/lexbor/html`) `python3 tokenizer_entities_bst.py` to generate the static binary search tree for entities.
2929

3030
## How to apply
3131

32-
* cd into `ext/dom/lexbor/lexbor`
32+
* cd into `ext/lexbor/lexbor`
3333
* `git am -3 ../patches/0001-Expose-line-and-column-information-for-use-in-PHP.patch`
3434
* `git am -3 ../patches/0002-Track-implied-added-nodes-for-options-use-in-PHP.patch`
3535
* `git am -3 ../patches/0003-Patch-utilities-and-data-structure-to-be-able-to-gen.patch`

0 commit comments

Comments
 (0)