Empty or missing type on genesis widget should not render an element/widget

Fixes #7153
This commit is contained in:
jeremy@jermolene.com
2022-12-30 21:42:07 +00:00
parent bf8e1ca5b0
commit 42a408146d
3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
title: Genesis/EmptyType
description: Using an empty type attribute with the genesis widget
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
<$genesis>Mouse</$genesis>
<$genesis $type="">Mouse</$genesis>
+
title: ExpectedResult
<p>Mouse</p><p>Mouse</p>