diff options
| author | David Schlachter <t480-debian-git@schlachter.ca> | 2026-01-09 00:18:27 -0500 |
|---|---|---|
| committer | David Schlachter <t480-debian-git@schlachter.ca> | 2026-01-09 00:18:27 -0500 |
| commit | 78986c0f6c054f0b87de9de12db36ad9e97f1fcb (patch) | |
| tree | 23985c5788381d655c37bc58318799e8247264d2 /ui.go | |
| parent | 7bba547637129f9b883a983fe45e4ecf08eb85ea (diff) | |
Render escaped ampersands
Diffstat (limited to 'ui.go')
| -rw-r--r-- | ui.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -184,6 +184,7 @@ func formatDefinitionForDisplay(policy bluemonday.Policy, definition string, max // Replace common HTML entities str = strings.ReplaceAll(str, "'", "’") + str = strings.ReplaceAll(str, "&", "&") // Wrap width := min(maxWidth, 80) |
