X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/05dc3e549b4a8ddd09de825126b8155f735ab2c3..7269c9af3e55dc478792d8ea010ab9b794190a66:/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn

diff --git a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
index 47027c349..3928c2192 100644
--- a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
+++ b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
@@ -9,16 +9,25 @@ but there's a line in `inline.pm` that does:
 And the extra newlines break the table.  Can they be safely removed?
 
 > If you want an HTML table, I would suggest using an HTML table, which
-> should pass through Markdown without being interpreted further:
+> should pass through Markdown without being interpreted further. To
+> avoid getting the `<div>` inside the `<table>` you can use:
 >
+>     \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtable]]
+>
+> where tagtable.tmpl looks like
+>
+>     <TMPL_IF FIRST>
 >     <table><tr>
->     \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtd]]
->     </tr></table>
+>     </TMPL_IF>
 >
-> where tagtd.tmpl is of the form `<td>your markup here</td>`.
+>     <td>your tag here</td>
+>
+>     <TMPL_IF LAST>
+>     </tr></table>
+>     </TMPL_IF>
 >
 > I don't think you're deriving much benefit from Markdown's table syntax
-> here, if you have to mix it with HTML::Template and ikiwiki directives,
+> if you have to mix it with HTML::Template and ikiwiki directives,
 > and be pathologically careful with whitespace. "Right tool for the job"
 > and all that :-)
 >