io7m-com / cedarbridge

Cedarbridge message protocol specification language
https://www.io7m.com/software/cedarbridge
ISC License
0 stars 0 forks source link

Empty records are rendered incorrectly in bridgedoc #16

Closed io7m closed 2 years ago

io7m commented 2 years ago

An empty record yields documentation like this:

<h4>Fields</h4>
 <table class="cbFieldsTable">
    <thead>
       <tr>
          <th>Name</th>
          <th>Type</th>
          <th>Description</th>
       </tr>
    </thead>
    <tbody/>
 </table>

It should yield a simple paragraph that says "there are no fields" the same way variant cases are rendered.