Skip to content

fix(serializer): do not remove HTML tags for titles#2161

Merged
zzacharo merged 1 commit intoCERNDocumentServer:mainfrom
zubeydecivelek:html-tag-bug
Feb 16, 2026
Merged

fix(serializer): do not remove HTML tags for titles#2161
zzacharo merged 1 commit intoCERNDocumentServer:mainfrom
zubeydecivelek:html-tag-bug

Conversation

@zubeydecivelek
Copy link
Contributor

If title contains special characters such as & (e.g. CERN examples - TI2&TI8 Building 140 and Injection Tunnels TI2&TI8) it's rendering as empty strings in the UI.

Serializer sees them as malformed HTML entities and discards the content.

Since title already rendered as text we don't need to remove HTML tags.

zzacharo
zzacharo previously approved these changes Feb 16, 2026
Copy link
Contributor

@zzacharo zzacharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are failing

Co-authored-by: Cursor <cursoragent@cursor.com>
@zzacharo zzacharo merged commit 5381393 into CERNDocumentServer:main Feb 16, 2026
1 check passed
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