Skip to content

fix: allow html in labels#81

Merged
rugbymauri merged 2 commits intomainfrom
fix/html-in-labels
Jul 3, 2025
Merged

fix: allow html in labels#81
rugbymauri merged 2 commits intomainfrom
fix/html-in-labels

Conversation

@rugbymauri
Copy link
Contributor

Allows to add HTML code in the content labels

@rugbymauri rugbymauri self-assigned this Jul 2, 2025
@rugbymauri rugbymauri requested a review from tuxes3 July 2, 2025 07:32
@@ -12,7 +12,7 @@
{{ attr|map((value, attr) => "#{attr}=\"#{value}\"")|join(' ')|raw }}
>
<dt class="whatwedo-utility-bold text-neutral-500 overflow-hidden truncate" id="wwd-crud-block-{{ block.acronym }}-content-{{ contentAcronym }}-label" title="{{ content.option('label')|trans }}">
Copy link
Contributor

Choose a reason for hiding this comment

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

@rugbymauri for the title attribute we should strip all tags, as it would look wierd in the popup.

@rugbymauri rugbymauri force-pushed the fix/html-in-labels branch from a926ecf to 842dc88 Compare July 2, 2025 14:27
@rugbymauri rugbymauri merged commit a1cdd5f into main Jul 3, 2025
0 of 14 checks passed
@rugbymauri rugbymauri deleted the fix/html-in-labels branch July 3, 2025 07:54
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