This will generate an empty `<p>` tag for the digest attribute, can we move the check to avoid it?