Make starts-with? and ends-with? tolerate non-string args (return false)
Previously these primitives threw Eval_error if either arg was non-string. Now they return false, preventing crashes when DOM attributes return nil values during element processing (e.g. htmx-boot-subtree! iterating elements with undefined attribute names). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user