Escape HTML Within Pre

Is there a way to escape a large HTML fragment within the editor?
I have something like this:

<div >
                         <pre >                              <code>
                                   <form action="/">
                                        <fieldset>
                                             <legend>Profile Settings</legend>
                                             
                                                  <label for="name">Name</label>
                                                  <input id="name" name="name" type="text" />
                                             
                                             
                                                  <label for="email">Email</label>
                                                  <input id="email" name="email" />
                                             
                                        </fieldset>
                                        
                                             <button title="Save Profile" type="submit">Save <em ></em></button>
                                        
                                   </form>
                              </code>
                         </pre>
</div>

Up until now, I have used tools like Escape HTML, but I am now wondering if the same thing is possible from within PHPStorm.
I have looked at language injection and intentions to no avail.  Is this possible?

1 comment
Comment actions Permalink

Hi there,

String Manipulation plugin will do this for you (in addition to other useful operations)

0

Please sign in to leave a comment.