Open Tofandel opened 6 months ago
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
label: '{!! addslashes($label) !!}',
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.
’
Description
It seems input labels are double encoded
Simple fix is to use
label: '{!! addslashes($label) !!}',
in blade but I don't know if it's the best solution