Fix hasContentToShow checking.

This commit is contained in:
benwoo1110 2021-01-02 13:18:25 +08:00
parent c874a98bac
commit 73d1035f84

View File

@ -17,7 +17,7 @@ public abstract class ShowInline<D extends ContentDisplay<T>, T> extends ShowRun
*/
@Override
public boolean hasContentToShow() {
return contentBuilder.length() == 0;
return contentBuilder.length() > 0;
}
/**