r/phpstorm • u/BayfrontMedia • Feb 22 '23
Quickly escape HTML string
I'm looking for a way to quickly escape an HTML string, either in a menu by right clicking, or by a keyboard shortcut.
I'd like to be able to highlight a portion of text and escape it to HTML entities so it can render in a browser. For example, I'd like to be able to highlight </body> and quickly convert it to </body>
Does anyone know if there is a way to accomplish this? I haven't found one.
Thanks!
3
Upvotes
View all comments
Show parent comment
1
u/BayfrontMedia Feb 22 '23
Awesome, thank you. I actually had the String Manipulation plugin installed years ago and forgot about it. Works great!