selfthinker / dokuwiki_plugin_wrap

Wrap Plugin for DokuWiki: Universal plugin which combines functionalities of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction.
http://www.dokuwiki.org/plugin:wrap
GNU General Public License v2.0
41 stars 33 forks source link

Extra line after wrap element? #261

Open uninvolving opened 1 year ago

uninvolving commented 1 year ago

Hi, I am trying to create a Wikipedia-style infobox. In the process of this, I am using Wrap to create a list instead of a Dokuwiki table. This works fairly well, but it seems there is an extra blank line added to the end. Is there a plugin problem here? Or a problem with my implementation?

Code (the first line comes from Table Width plugin):

|< 19.2em 20% - 50% >|
| **Date**  | 1 January 2023  ||
| **Location**  | X  ||
| **Result**  | <WRAP>
• A\\
• B\\
• C</WRAP>  ||
^  Belligerents  ^^^
| <WRAP> D\\
E\\
F\\
G</WRAP>  || H  |
^  Strength  ^^^
| <WRAP> 50\\
**(At peak)**</WRAP>  || <WRAP>
15\\
**(At peak)**</WRAP>  |

Screenshot: https://i.imgur.com/O8RZYpz.png

As you can see, there is a gap after "C" and "G" and "At peak". There is no such gap when a table row is made normally, without a nested Wrap element.