Fixed Preview fails if the message is falsy

Xon

Well-known member
Licensed customer
Affected version
2.3.13
If you enter 0 as a post message, and click preview. It fails instead of rendering 0.

This is because the bb_code_preview template has the check <xf:if is="$message"> which skips falsy messages instead of empty ones.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.14).

Change log:
Allow previewing messages containing only zero
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom