diff --git a/src/Filters/Html/HtmlParser.php b/src/Filters/Html/HtmlParser.php
index c040230..1dc7084 100644
--- a/src/Filters/Html/HtmlParser.php
+++ b/src/Filters/Html/HtmlParser.php
@@ -124,10 +124,12 @@ public function transform( $segment ) {
} elseif ( $state == static::STATE_HTML ) {
switch ( $char ) {
case '<':
- // ignore '<' if inside a quote
- if ( $in_quote_char ) {
- break;
- }
+ // is not possible to have angle brackets inside a tag, this case can not happen
+ // this code would ignore '>' if inside a quote, useless
+ // for more info see https://www.w3.org/TR/xml/#charsets
+// if ( $in_quote_char ) {
+// break;
+// }
// if we found a second less than symbol the first one IS NOT a tag,
// treat the html_buffer as plain text and attach to the output
@@ -136,10 +138,12 @@ public function transform( $segment ) {
break;
case '>':
- // ignore '>' if inside a quote
- if ( $in_quote_char ) {
- break;
- }
+ // is not possible to have angle brackets inside a tag, this case can not happen
+ // this code would ignore '>' if inside a quote, useless
+ // for more info see https://www.w3.org/TR/xml/#charsets
+// if ( $in_quote_char ) {
+// break;
+// }
if ( in_array( substr( $html_buffer, 0, 8 ), [ '