Commit 0098825
Handle null return from mb_ereg_replace in TextNode
Adds a check for null return value from mb_ereg_replace to throw a LogicalException when invalid encoding is encountered, improving error handling in text cleaning.
https: //github.com/paquettg/pull/260
Co-Authored-By: Gemini_13 <6113770+gemini1389@users.noreply.github.com>1 parent b95e0da commit 0098825
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
0 commit comments