If someone has a signature with just white space, it is possible to force this to display as a signature (which depending on the theme can look quite silly).
Using the signature:
[S] [/S]
template: message
Fix (or perhaps a better check on accepting the signature):
Using the signature:
[S] [/S]
template: message
Code:
<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
<div class="baseHtml signature messageText ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
</xen:if>
Code:
<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
<xen:if hascontent="true">
<div class="baseHtml signature messageText ugc{xen:if $message.isIgnored, ' ignored'}"><aside><xen:contentcheck>{xen:raw $message.signatureHtml}</xen:contentcheck></aside></div>
</xen:if>
</xen:if>