DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:spoiler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Both sides next revision
plugin:spoiler [2020-06-08 21:10]
nemwar
plugin:spoiler [2021-01-23 20:47]
halbbit patch to work with Hogfather
Line 35: Line 35:
 ===== Discussion ===== ===== Discussion =====
  
-I'd like to see it work within a list:+**Patch to work with 2020-07-29 "Hogfather"**\\ 
 +in ''lib/plugins/spoiler/syntax.php'' change the following lines (65+91) 
 +  function handle($match, $state, $pos, &$handler){ 
 +  function render($mode, &$renderer, $data) { 
 +to 
 +  function handle($match, $state, $pos, Doku_Handler $handler){ 
 +  function render($mode, Doku_Renderer $renderer, $data) { 
 + 
 +-- halbbit //2021-01-23// 
 +---- 
 + 
 +**I'd like to see it work within a list**
 <code dokuwiki> <code dokuwiki>
   * <spoiler>   * <spoiler>
plugin/spoiler.txt · Last modified: 2021-01-23 20:47 by halbbit