Browse Source

fix default htmltext format text

trethaller 5 years ago
parent
commit
d5ce297bb9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h2d/HtmlText.hx

+ 1 - 1
h2d/HtmlText.hx

@@ -37,7 +37,7 @@ class HtmlText extends Text {
 		A default method HtmlText uses to format assigned text.
 	**/
 	public static dynamic function defaultFormatText( text : String ) : String {
-		return null;
+		return text;
 	}
 
 	public var condenseWhite(default,set) : Bool = true;