dokuwiki_plugin_wrap
dokuwiki_plugin_wrap copied to clipboard
Including a list in a box doesn't work anymore
Hi folks,
everything's in the title, this happened just after upgrading to "Greebo" (Alabama?;-p) and WRAP (in this order). List members asterisks are now not interpreted and printed as is on screen ; no trick seems to be able to revert that to the normal behavior.
Code example:
<WRAP alert>
bla bla bla * List 1st item * List 2nd item\\
bla bla bleuuuuhhhh
</WRAP>
Output:
bla bla bla * List 1st item * List 2nd item
bla bla bleuuuuhhhh
To the best of my knowledge, this should never have worked in the first place because that's not part of either DokuWiki core or the Wrap syntax. I also just tried this with the previous Wrap and DokuWiki version and it didn't work as expected. Were you using any other plugin that could have created a list from that?
On Sun, 13 May 2018 14:46:34 -0700 Anika Henke [email protected] wrote:
To the best of my knowledge, this should never have worked in the first place because that's not part of either DokuWiki core or the Wrap syntax.
Hmm, too bad, having it was quite useful.
I also just tried this with the previous Wrap and DokuWiki version and it didn't work as expected. Were you using any other plugin that could have created a list from that?
Here's all that I have (just in case, using the 'adoradark' theme):
la /var/www/dokuwiki/lib/plugins/
total 88 drwxr-xr-x 4 www-data www-data 147 2017-05-09 00:05 acl -rw-rw-r-- 1 www-data www-data 665 2017-03-07 21:02 action.php -rw-rw-r-- 1 www-data www-data 2571 2017-03-07 21:02 admin.php drwxr-x--- 5 www-data www-data 95 2018-04-22 21:29 authad drwxr-xr-x 4 www-data www-data 65 2017-05-09 00:05 authldap drwxr-xr-x 4 www-data www-data 78 2017-05-09 00:05 authpdo -rw-rw-r-- 1 www-data www-data 15450 2017-03-07 21:02 auth.php drwxr-xr-x 3 www-data www-data 54 2017-05-09 00:05 authplain drwxr-xr-x 3 www-data www-data 86 2017-05-09 02:20 bbcode -rw-r--r-- 1 www-data www-data 244 2018-04-22 21:29 cli.php drwxr-xr-x 3 www-data www-data 92 2017-05-11 20:28 color drwxr-xr-x 5 www-data www-data 115 2017-05-09 00:05 config drwxr-xr-x 4 www-data www-data 4096 2018-04-22 21:09 diagram drwxr-xr-x 5 www-data www-data 4096 2017-05-09 00:05 extension drwxr-x--- 5 www-data www-data 4096 2018-04-22 21:10 fastwiki drwxr-xr-x 5 www-data www-data 4096 2017-05-09 02:20 hidden drwxr-xr-x 3 www-data www-data 92 2017-05-09 02:19 htmlmetatags -rw-rw-r-- 1 www-data www-data 244 2017-03-07 21:02 index.html drwxr-xr-x 2 www-data www-data 45 2017-05-09 00:05 info drwxr-x--- 10 www-data www-data 4096 2018-04-22 03:30 move drwxr-xr-x 3 www-data www-data 154 2018-05-05 21:00 note drwxr-x--- 8 www-data www-data 4096 2018-05-05 21:00 odt drwxr-xr-x 3 www-data www-data 105 2017-05-09 00:05 popularity -rw-rw-r-- 1 www-data www-data 3124 2017-03-07 21:02 remote.php drwxr-xr-x 3 www-data www-data 71 2017-05-09 00:05 revert drwxr-xr-x 2 www-data www-data 45 2017-05-09 00:05 safefnrecode drwxr-xr-x 7 www-data www-data 4096 2017-05-09 02:19 smtp drwxr-xr-x 3 www-data www-data 4096 2017-05-09 00:05 styling -rw-rw-r-- 1 www-data www-data 4438 2017-03-07 21:02 syntax.php drwxr-xr-x 7 www-data www-data 4096 2018-04-19 19:34 translation drwxr-xr-x 3 www-data www-data 4096 2018-05-05 21:01 upgrade drwxr-xr-x 4 www-data www-data 116 2017-05-09 00:05 usermanager drwxr-xr-x 7 www-data www-data 4096 2018-05-05 21:02 wrap
@JiffB Maybe you are missing some "enter"? Like the following:
<WRAP alert>
bla bla bla
* List 1st item
* List 2nd item\\ bla bla bleuuuuhhhh
</WRAP>
This does work on previous versions. I don't know whether this works on the latest, though.
On Mon, 14 May 2018 02:59:55 -0700 Phy [email protected] wrote:
I didn't need that, as I had several pages opened before the upgrade.
I saw that it wasn't working on the page I was creating, then I reloaded others and understood it wasn't working anymore.
This (without the WRAP):
bla bla bla * List 1st item * List 2nd item\\
bla bla bleuuuuhhhh
...also renders your output, so whatever was going on before, I don't think it has anything to do with the WRAP plugin.
Also, refer to the DokuWiki syntax page. Your format is not supposed to work.
It also kind of breaks the whole wiki idea, where a line starting with an asterisk looks more like a list than several asterisks on one line. The basic wiki premise is to make the text behind the HTML look as much like the actual HTML as possible while keeping things simple. (That's at least how I've understood it...)