01387: Wikistyles are not working with lists anymore

Summary: Wikistyles are not working with lists anymore
Created: 2016-06-02 13:11
Status: Closed
Category: Bug
From: CarlosAB
Assigned:
Priority: 4
Version: 2.2.87
OS: linux, apache 2.0.63, php 5.2.9,

Description: Wikistyles are not working with lists anymore.

Tried a few examples on Test group, here is the link:

http://www.pmwiki.org/wiki/Test/WikiStylesInlists CarlosAB June 02, 2016, at 01:11 PM

You need to place the wikistyle on the first line of the list:

* %list color=red% balalaika
* balabalbalaba
  • balalaika
  • balabalbalaba
* %apply=list bgcolor=green% balalaika
* balabalbalaba
  • balalaika
  • balabalbalaba
* %apply=list class=mambo% balalaika
* balabalbalaba
  • balalaika
  • balabalbalaba

If you want to break a list in two, you need to have a line not part of the list between, that is a line that has any content other than space and newlines, otherwise PmWiki considers the vertical space part of the previous list item. You can have an non-breaking space, or the escaped null character:

* %list color=red% balalaika
* balabalbalaba
 
* %apply=list bgcolor=green% balalaika
* balabalbalaba
[==]
* %apply=list class=mambo% balalaika
* balabalbalaba
  • balalaika
  • balabalbalaba

 

  • balalaika
  • balabalbalaba

  • balalaika
  • balabalbalaba

--Petko June 02, 2016, at 01:46 PM


Thank you Petko, I am sorry for taking your time for this I just could not find the solution.

Carlos_AB

Feel free to correct the documentation: add the information on the pages where you expected it to be. --Petko June 03, 2016, at 01:23 AM