forked from gettalong/kramdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed HTML-to-native conversion of unsupported HTML elements
The conversion of HTML elements that have no native representation was flawed because they were processed like elements with a native representation.
- Loading branch information
Showing
7 changed files
with
52 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<table class="examples"> | ||
<tr> | ||
<th><em>Usage</em></th> | ||
<th> | ||
<tr> | ||
<th><em>Usage</em></th> | ||
<th> | ||
Output | ||
</th> | ||
</tr> | ||
<tr> | ||
<td>Some <em>data</em></td> | ||
<td> | ||
</tr> | ||
<tr> | ||
<td>Some <em>data</em></td> | ||
<td> | ||
<h1 id="some-more">Some more</h1> | ||
</td> | ||
</tr> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Output | |
</tr> | ||
<tr> | ||
<td markdown="span">Some *data*</td> | ||
<td> | ||
<td markdown="1"> | ||
# Some more | ||
</td> | ||
</tr> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 10 additions & 12 deletions
22
test/testcases/block/09_html/html_to_native/table_normal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<table class="examples"> | ||
<tr> | ||
<th>Usage</th> | ||
<th>Other</th> | ||
</tr> | ||
<tr> | ||
<td> | ||
Some *data* | ||
</td> | ||
<td> | ||
<p>Some more</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Usage</th> | ||
<th>Other</th> | ||
</tr> | ||
<tr> | ||
<td>Some *data*</td> | ||
<td> | ||
<p>Some more</p> | ||
</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters