kovetskiy / mark

Sync your markdown files with Confluence pages.
https://samizdat.dev
Other
988 stars 147 forks source link

Drop newlines #321

Closed mrueg closed 1 year ago

mrueg commented 1 year ago

Newlines will cause trouble when rendering and the macro is used inside a table. Without this change, we'll have this:


                              <tr>
                              <td><ac:structured-macro ac:name="profile"></td>
                              <td></td>
                              <td></td>
                              </tr>
                              <tr>
                              <td><ac:parameter ac:name="user"></td>
                              <td></td>
                              <td></td>
                              </tr>
                              <tr>
                              <td><ri:user ri:userkey="XXXX" /></ac:parameter></td>
                              <td></td>
                              <td></td>
                              </tr>
                              <tr>
                              <td></ac:structured-macro></td>
                              <td></td>
                              <td></td>
                              </tr>