I have a problem with text in html. I want the search text to be underlined when filtering and everything works, but when the user types "lorem" in lowercase it doesn't underline Lorem because it starts with a capital letter. Is it possible to underline all words regardless of their size?
Okay. So where you do the search?
I am assuming that you have a gallery in the itens you have something like:
So you write this:
Hi @KKKuba , it should go where you have done the check and underlined the word in the HTML text
Can you send me the code snippet of where you have added the underline? Or just the HTML text code?
"<span style=""background-color:yellow"">" & SearchContent.Text & "</span>"
It doesnt work because in html there are upper and lower case letters, so it doesn't match
Edit:this was in reference to an earlier answer
Substitute( Lower(ThisItem.Description), Lower(SearchContent.Text), "<span style=""background-color:yellow"">" & SearchContent.Text & "</span>" )
Check out the News & Announcements to learn more.
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.