Skip to content

Commit

Permalink
meta object detection
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldgillespie committed Jun 4, 2022
1 parent 6b052bd commit 9029880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmpl/details.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
<?js } ?>

<!-- custom tags here -->
<?js if(data.meta.customTagName){ ?>
<?js if(typeof data.meta === 'object' && data.meta.customTagName){ ?>
<dt class="tag-unrecognized"><?js= data.meta.customTagName ?></dt>
<dd class="tag-unrecognized"><?js= data[data.meta.customTagName] ?></dd>
<?js } ?>
Expand Down

0 comments on commit 9029880

Please sign in to comment.