asciidoctor / kramdown-asciidoc

A kramdown extension for converting Markdown documents to AsciiDoc.
Other
207 stars 19 forks source link

Rendering raw html in table cell #112

Open ichistmeinname opened 1 year ago

ichistmeinname commented 1 year ago

The following list within a table cell

| Title   | Description |
|---------|-------------|
| Foo | some structured information as <ul><li>two</li><li>items</li></ul> |

renders just fine in GitHub flavoured markdown.

Title Description
Foo some structured information as
  • two
  • items

However, I get the following snippet when running kramdoc.

|===
| Title | Description

| Foo
| some structured information as <ul><li>two</li><li>items</li></ul>
|===

Note: When I use <br/> in a cell it transforms the <br/>-tag as expected. So, I guess that not all HTML tags are supported yet?

| Title   | Description |
|---------|-------------|
| Foo | some structured information as <br/><ul><li>two</li><li>items</li></ul> |

becomes

|===
| Title | Description

| Foo
| some structured information as +
<ul><li>two</li><li>items</li></ul>
|===