浏览代码

fix default htmltext format text

trethaller 5 年之前
父节点
当前提交
d5ce297bb9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;