Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importer should handle line breaks in table cells. #132

Open
mhaack opened this issue Mar 15, 2023 · 0 comments
Open

Importer should handle line breaks in table cells. #132

mhaack opened this issue Mar 15, 2023 · 0 comments

Comments

@mhaack
Copy link
Contributor

mhaack commented Mar 15, 2023

Expected Behaviour

<br> within table cells are correctly handled as linebreaks.

Actual Behaviour

Currently <br> within table cells are converted into new line + \ + new line which leads to \ in the word docs.

Example:

<table class="table">
  <tbody>
    <tr>
      <th colspan="3">Table</th>
    </tr>
    <tr>
      <td>Parameter</td>
      <td>Fluorescence polarization</td>
      <td>TR-FRET</td>
    </tr>
    <tr>
      <td>Detection cartridge</td>
      <td>FP-FLUO<br>Ex 485 nm/Em 535 nm</td>
      <td>TR-FRET B/G (custom)<br>Wavelength 1: Ex 340 nm/Em 490 nm<br>Wavelength 2: Ex 340 nm/Em 520 nm</td>
    </tr>
    </tr>
  </tbody>

Is translated into

+-------------------------------------------------------------------------------------+
| Table                                                                               |
+=====================+===========================+===================================+
| Parameter           | Fluorescence polarization | TR-FRET                           |
+---------------------+---------------------------+-----------------------------------+
| Detection cartridge | FP-FLUO                   | TR-FRET B/G (custom)              |
|                     |                           |                                   |
|                     | \                         | \                                 |
|                     |                           |                                   |
|                     |                           |                                   |
|                     | Ex 485 nm/Em 535 nm       | Wavelength 1: Ex 340 nm/Em 490 nm |
|                     |                           |                                   |
|                     |                           | \                                 |
|                     |                           |                                   |
|                     |                           |                                   |
|                     |                           | Wavelength 2: Ex 340 nm/Em 520 nm |
+---------------------+---------------------------+-----------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant