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

Input labels are double encoded #2500

Open
Tofandel opened this issue Feb 27, 2024 · 1 comment
Open

Input labels are double encoded #2500

Tofandel opened this issue Feb 27, 2024 · 1 comment

Comments

@Tofandel
Copy link
Contributor

Tofandel commented Feb 27, 2024

Description

image

It seems input labels are double encoded

            Input::make()->name('wrong_hint')
                ->label("A label with a 'single quote'")

Simple fix is to use label: '{!! addslashes($label) !!}', in blade but I don't know if it's the best solution

@ifox
Copy link
Member

ifox commented Feb 27, 2024

I can check if that would cause any unexpected issues, but in the meantime I'd suggest you use curly quotes , which is more “correct”: https://practicaltypography.com/straight-and-curly-quotes.html.

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

No branches or pull requests

2 participants