You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/lexbor/patches/README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ This contains the following patch files in mailbox format.
24
24
A PHP specific patch to remove CSS style and selector bindings from the Lexbor document.
25
25
26
26
**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.
29
29
30
30
## How to apply
31
31
32
-
* cd into `ext/dom/lexbor/lexbor`
32
+
* cd into `ext/lexbor/lexbor`
33
33
*`git am -3 ../patches/0001-Expose-line-and-column-information-for-use-in-PHP.patch`
34
34
*`git am -3 ../patches/0002-Track-implied-added-nodes-for-options-use-in-PHP.patch`
35
35
*`git am -3 ../patches/0003-Patch-utilities-and-data-structure-to-be-able-to-gen.patch`
0 commit comments