Quote:
Originally Posted by kovidgoyal
|
If we use "Remove tag" before the tag is highlighted - this function destroys the code.
Step by step.
Sample code:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TEST</title>
</head>
<body>
<p class="sample">sample text</p>
<p class="sample">sample text</p>
<p class="sample">sample text</p>
<p class="sample">sample text</p>
<p>Normal text</p>
</body>
</html>
1. Place cursor inside "p" (for example, before "class" word) and press "Remove tag".
2. Now press the cursor down quickly (before the p tag is highlighted) and press "Remove tag" again.
3. Repeat.
If you do not succeed at once, you will certainly succeed in the third or fourth paragraph.
The most common problems:
1. remove the "body" tag
2. removing part of the paragraph