minor improvement to WYSIWYG format fix

Signed-off-by: Elliot Condon <e@elliotcondon.com>