Commit 6419162
vale: ignore shortcodes inside markdown links via BlockIgnores
The previous TokenIgnores pattern only caught isolated shortcodes
and couldn't handle markdown links whose text or URL contained a
shortcode, because TokenIgnores can't span multiple tokens. Moving
that pattern into BlockIgnores lets it match across whitespace.
Also widen the inner pattern from `{{[%<]…[%>]}}` to `{{[^}]+}}` so
Go template actions (`{{- $url := … }}`, `{{ .Content }}`) inside
.inline shortcode blocks are ignored too. Fixes spurious URL/term
hits in the engine/install pages and the docker-agent examples.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 44e7534 commit 6419162
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
0 commit comments