AdvancedCustomFields / acf

Advanced Custom Fields
http://advancedcustomfields.com/
835 stars 171 forks source link

Greater than character in theme templates causing issues #822

Open Alex-Hay opened 1 year ago

Alex-Hay commented 1 year ago

Hi there,

A bit of an unusual one; i'm finding that using the greater than characters in quotes is removing the closing double quote (") and replacing it with a double prime character (″) – causing issues in the HTML.

.php <div class="[&>*]:mb-0"></div> or <div class=">"></div> becomes .html <div class="[&>*]:mb-0″></div> or <div class=">″></div>

The below just causes an error. .php <div class='[&>*]:mb-0'></div> or <div class='>'></div>

This issue only applies to ACF template files and not other templates in the theme.