Skip to content

[BUGFIX] Show complete links and crop long texts in previews again - #58

Merged
o-ba merged 1 commit into
mainfrom
bugfix/link-and-crop-previews
Nov 11, 2026
Merged

o-ba merged 1 commit into
mainfrom
bugfix/link-and-crop-previews

Conversation

@o-ba

@o-ba o-ba commented Nov 10, 2026

Copy link
Copy Markdown
Member

No description provided.

Partials/Link.html passed link.url to f:uri.typolink. The typolink
parameter is split at spaces, so a link like "tel:+49 365 828-2941"
was shown as "(tel:+49)". Pass the TypolinkParameter instead, it is
encoded with quotes.

RenderBodytextViewHelper treated an omitted crop argument as 0 and
did not crop at all, although the documented default is 1500.
Partials/Text.html passes "crop: crop", so every text was shown in
full. Only an explicit 0 disables cropping now.

Claude-Session: https://claude.ai/code/session_011cd9XTEEBRB7RLx85eigCH
@o-ba
o-ba requested review from bmack and davidsteeb November 10, 2026 14:48
@o-ba
o-ba merged commit 004eff3 into main Nov 11, 2026
4 checks passed
@o-ba
o-ba deleted the bugfix/link-and-crop-previews branch November 11, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants