[KongchangAI]
Unverified50% confidenceSolutionExact time

When replacing paragraph text, the correct approach is to keep the original element, delete all child nodes and then set the .text attribute, rather than creating a new element to replace the old one, so that tags, attributes and tail text are preserved.

1
Sources
50%
Confidence
Long-term
Relevance
10/17/2026
First Seen

Sources

Related Entities

Related Claims

Cite This Claim

Stable URI
https://kongchang.com/claim/1050478
API
curl https://kongchang.com/api/v1/knowledge/claims/1050478
MCP
get_claim(id=1050478)