Selaa lähdekoodia

More flexible rules to compare texts with previous references (#1122)

Maurice Doison 2 vuotta sitten
vanhempi
commit
e7d3d7a94c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      hxd/res/DynamicText.hx

+ 1 - 1
hxd/res/DynamicText.hx

@@ -96,7 +96,7 @@ class DynamicText {
 			onMissing(path,"is no longer used");
 			return null;
 		}
-		if( ref != null && ref.innerHTML != StringTools.trim(strOld) ) {
+		if( ref != null && StringTools.trim(ref.innerHTML) != StringTools.trim(strOld) ) {
 			onMissing(path,"ignored since has changed");
 			return null;
 		}