Menu

A span tag inside an attribute — the bug was the position, not the number
📰

A span tag inside an attribute — the bug was the position, not the number

DEV Community: html·minia2a·2 days ago
#Fdgw23rT
#devto2#devto#dev#attribute#search
Reading 0:00
15s threshold

A inside an attribute — the bug that only fired when a number changed

November 14, 2026 · incident window 06:29Z–07:18Z

Our homepage has a search box. For 49 minutes this morning, it showed visitors this:

Search <span data-stat = 1,890 services — e.g. gas price, ssl, captcha, polymarket " autocomplete=" off ">

Enter fullscreen mode

Exit fullscreen mode

The first half is the input's placeholder. The second half is loose text in the hero, because the browser ended the <input> tag early and had nowhere else to put the remainder.

What the served bytes were

One line, written by our hourly stats rewriter:

<input id = "hero-search" type = "search" placeholder = "Search <span data-stat=" services ">1,890</span> services — e.g. gas price, ssl, captcha, polymarket" autocomplete = "off" >

Enter fullscreen mode

Exit fullscreen mode

An attribute value in double quotes ends at the next " . There is no escape hatch, no nesting, no allowance for markup.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.