Remove a trailing truncated copy of the localized reader label
(SEO_CONTEXT_LABELS[lang].reader) from a candidate description.
Earlier backfill passes appended the reader label and then clamped the
whole buffer to the per-script metaDescription budget, hard-cutting
the label mid-word (e.g. zh โฆๆฟ็ญๅๆ็่ฏป instead of โฆๆฟ็ญๅๆ็่ฏป่ ,
ja โฆ่ฟฝ่ทกใใ่ชญ, ko dangling โฆ์ถ์ ํ๋.). Those mangled fragments were
persisted to <meta description> and survive a plain prefix/date-label
strip, so re-feeding them to the resolver re-emits the broken tail.
A trailing copy that matches the label in full is left intact โ it
is a complete, reader-facing clause we want to preserve. Only a partial
(truncated) prefix of the label is dropped, leaving the clean body for
the resolver to re-enrich with a budget-aware (whole-label-or-nothing)
reader clause.
Remove a trailing truncated copy of the localized reader label (
SEO_CONTEXT_LABELS[lang].reader) from a candidate description.Earlier backfill passes appended the reader label and then clamped the whole buffer to the per-script
metaDescriptionbudget, hard-cutting the label mid-word (e.g. zhโฆๆฟ็ญๅๆ็่ฏปinstead ofโฆๆฟ็ญๅๆ็่ฏป่, jaโฆ่ฟฝ่ทกใใ่ชญ, ko danglingโฆ์ถ์ ํ๋.). Those mangled fragments were persisted to<meta description>and survive a plain prefix/date-label strip, so re-feeding them to the resolver re-emits the broken tail.A trailing copy that matches the label in full is left intact โ it is a complete, reader-facing clause we want to preserve. Only a partial (truncated) prefix of the label is dropped, leaving the clean body for the resolver to re-enrich with a budget-aware (whole-label-or-nothing) reader clause.