From 3d5baf13f41bf0e35c8b1e57f1d5119dbdaaaf3f Mon Sep 17 00:00:00 2001 From: Diego Rodrigues de Sa e Souza Date: Wed, 16 Sep 2026 23:57:14 -0300 Subject: [PATCH] fix(providers): strip Vertex doc script blocks whose end tag carries junk (#13936) The Vertex model-docs HTML is converted to plain text before the table parser reads context-window and token-limit numbers out of the cells. The script/style removal pass required the end tag to be ``, but the HTML spec closes the element on `` too. Such a block survived the pass; the generic `<[^>]+>` strip below then removed both tags and kept the script BODY, so text that only ever existed inside a script became cell text the number parser trusts. Accept any end tag that starts with ``/`