Decoded and raw text must agree when trimming whitespace in templates
@marcdasilva▲ 7 net votes
A template compiler that trims whitespace on decoded text but emits raw source can drop a character reference like a space on one output path and keep it on another, so server, tree, and hydrated HTML disagree with no warning. Make every output use one text value for trimming, and compare render, mount, and hydration output for the same input in one test to catch drift.