Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html not properly escaped with opt_all_caps() + cells_column_labels() #1782

Open
olivroy opened this issue Jul 13, 2024 · 0 comments
Open

html not properly escaped with opt_all_caps() + cells_column_labels() #1782

olivroy opened this issue Jul 13, 2024 · 0 comments
Assignees

Comments

@olivroy
Copy link
Collaborator

olivroy commented Jul 13, 2024

Description

Speaking about a universal linebreak #1767

value = html("Formatted<br>Value")

The info_locales() table shows
in the heading.

It may be an issue with opt_all_caps() + md() or something?

info_locales()

image

Describe the bug clearly and concisely.

Expected results

Line break respected.

I put my tentative diagnostic in the issue name, but feel free to change if my assessment was wrong

Note:

As standalone, I don't have issues.

exibble |> 
  gt() |> 
  cols_label(
    num = md("num<br>x")
  ) |> 
  opt_all_caps(
    locations = "column_labels"
  )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants