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: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -180,6 +180,14 @@ You can add the attribute `disabled`, then it will not be rendered.
180
180
181
181
See all the different [TagEngine Tests](https://github.com/LordSimal/custom-html-elements/blob/main/tests/TagEngine/)
182
182
183
+
## Limitations
184
+
185
+
Since everything gets parsed via regex, there are some limitations related to how regex works.
186
+
187
+
E.g. if you have an enormous amount of HTML which needs to be parsed at once, it may be possible that the regex fails to parse the HTML correctly (e.g. [PREG_BACKTRACK_LIMIT_ERROR](https://www.php.net/manual/en/function.preg-last-error.php#refsect1-function.preg-last-error-returnvalues))
188
+
189
+
In this case you will have to find another way to encapsulate your HTML elements in PHP.
190
+
183
191
## Acknowledgements
184
192
185
193
This library is inspired by the following packages
0 commit comments