No worries, I will just strip the html for now.

Have a nice weekend!



On October 8, 2021 18:56:46 John MacFarlane <jgm@berkeley.edu> wrote:

Sorry, no.

Jan Catrysse <jan.catrysse-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

Thank you John!

Is there a way to change that behavior, to avoid outputting html? With 
possibly a lesser quality output?

Best regards
Jan


On October 7, 2021 05:59:52 John MacFarlane <jgm@berkeley.edu> wrote:

This output doesn't preserve the fact that you have a list
in one of the cells.  That's why pandoc falls back to HTML
in this case.

Jan Catrysse <jan.catrysse-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

This could be a possible output:
| Taak                              | Kost                              |
|                                   |                                   |
| Analyse:                          | 2.5 dagen                         |
|                                   |                                   |
|     Item one                      |                                   |
|     Item two                      |                                   |
|     Item three                    |                                   |
|     Itrm four                     |                                   |
|                                   |                                   |
| Authenticatie                     | 2 dagen                           |
|                                   |                                   |
| Ontwikkeling                      | 6 dagen                           |
|     Another item 0                | 5 dagen                           |
|     Another item 1                | 1 dag                             |
|     Another item 2                |                                   |
|     Another item 3                |                                   |
|     Another item 4                |                                   |
|     Another item 5                |                                   |
|     Another item 6                |                                   |
|     Another item 7                |                                   |
|     Another item 8                |                                   |
|     Another item 9                |                                   |
|                                   |                                   |
| Projectopvolging                  | 3 dagen                           |
|                                   |                                   |
| Testing                           | 2 dagen                           |
|                                   |                                   |
| Documentatie                      | 2 dagen                           |
|                                   |                                   |
| Totaal                            | 23.5 dagen                        |

Op donderdag 7 oktober 2021 om 00:10:36 UTC+2 schreef Jan Catrysse:

Hello,

I would like to convert HTML to TEXTILE but I always get html tags into my
final textile file.

How can this be fixed? Converting to Markdown works like a charm. I tried
all kinds of options but without succes

This is an example HTML

<div>Random titel</div>
<div>
<p>Some text:</p>
<table>
<tbody>
<tr>
<td>
<p>Company 1</p>
</td>
<td>
<p>6 dagen</p>
</td>
</tr>
<tr>
<td>
<p>Company 2</p>
</td>
<td>
<p>11.5 dagen</p>
</td>
</tr>
<tr>
<td>
<p>Company 3</p>
</td>
<td>
<p>5.5 dagen</p>
</td>
</tr>
</tbody>
</table>
</div>
<div><br />
<table>
<tbody>
<tr>
<td>Taak</td>
<td>Kost</td>
</tr>
<tr>
<td>Analyse:<br />
<ul>
<li>Item one</li>
<li>Item two</li>
<li>Item three</li>
<li>Itrm four</li>
</ul>
</td>
<td>2.5 dagen</td>
</tr>
<tr>
<td>Authenticatie</td>
<td>2 dagen</td>
</tr>
<tr>
<td>Ontwikkeling<br />
<ul>
<li>Another item 1</li>
<li>Another item 2</li>
<li>Another item 3</li>
<li>Another item 4</li>
<li>Another item 5</li>
<li>Another item 6</li>
<li>Another item 7</li>
<li>Another item 8</li>
<li>Another item 9</li>
<li>Another item 0</li>
</ul>
</td>
<td>6 dagen<br />5 dagen<br />1 dag</td>
</tr>
<tr>
<td>Projectopvolging</td>
<td>3 dagen</td>
</tr>
<tr>
<td>Testing</td>
<td>2 dagen</td>
</tr>
<tr>
<td>Documentatie</td>
<td>2 dagen</td>
</tr>
<tr>
<td>Totaal</td>
<td>23.5 dagen</td>
</tr>
</tbody>
</table>
</div>


--
You received this message because you are subscribed to the Google Groups 
"pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pandoc-discuss/a8447326-5aed-4c92-9157-a51b88dd6fb4n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/17c60d87920.283c.ad1ecac2d06e8875ae034ced7ff3a5d5%40gmail.com.