-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Closed
Labels
markdownIssues related to Markdown conversionIssues related to Markdown conversion
Description
What page(s) did you find the problem on?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties
Specific page section or heading?
- Detecting, retrieving, and enumerating object properties
What is the problem?
The conversion didn't work properly with markdown.
ex2 is a simplified version of the current documentation code. In the ex2, when I changed tr to td in tbody, it was converted well. However, looking at the ex1, it seems that there are other problems. The rule of the MDN markdown table all seem to be well maintained. What's the problem? (Of course, in ex1, tr was replaced with td in tbody.)
- ex1
<table>
<thead>
<tr>
<th></th>
<th>Own object</th>
<th>Own object and prototype chain</th>
<th>Prototype chain only</th>
</tr>
</thead>
<tbody>
<tr>
<td>Enumerable</td>
<td>
<p>
<code
><a
href="/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/propertyIsEnumerable"
>propertyIsEnumerable</a
></code
>
</p>
<p>
<code
><a
href="/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty"
>hasOwnProperty</a
></code
>
</p>
</td>
<td>Not available without extra code</td>
<td>Not available without extra code</td>
</tr>
<tr>
<td>Nonenumerable</td>
<td>
<p>
<code
><a
href="/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty"
>hasOwnProperty</a
></code
>
– filtered to exclude enumerables using
<code
><a
href="/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/propertyIsEnumerable"
>propertyIsEnumerable</a
></code
>
</p>
</td>
<td>Not available without extra code</td>
<td>Not available without extra code</td>
</tr>
<tr>
<td>Enumerable and Nonenumerable</td>
<td>
<p>
<code
><a
href="/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty"
>hasOwnProperty</a
></code
>
</p>
</td>
<td>
<code
><a href="/ko/docs/Web/JavaScript/Reference/Operators/in"
>in</a
></code
>
</td>
<td>Not available without extra code</td>
</tr>
</tbody>
</table>- ex2
<table>
<thead>
<tr>
<th></th>
<th>Own object</th>
<th>Own object and prototype chain</th>
<th>Prototype chain only</th>
</tr>
</thead>
<tbody>
<tr>
<th>Enumerable</th>
<td>
propertyIsEnumerable
</td>
<td>Not available without extra code</td>
<td>Not available without extra code</td>
</tr>
<tr>
<th>Nonenumerable</th>
<td>
hasOwnProperty
</td>
<td>Not available without extra code</td>
<td>Not available without extra code</td>
</tr>
<tr>
<th>Enumerable and Nonenumerable</th>
<td>
hasOwnProperty
</td>
<td>
in
</td>
<td>Not available without extra code</td>
</tr>
</tbody>
</table>There is th in the body, so the conversion was not done.
What did you expect to see?
It should be converted to markdown.
Did you test this? If so, how?
no
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
markdownIssues related to Markdown conversionIssues related to Markdown conversion