Results 26 comments of Alex

Unfortunately, the Imagebox plugin uses DIV, so patching P does not help. DokuWiki lists are also DIVs.

As I see it, a solution could be to place \ inside \, not the other way around. That fixes everything. But I don't see a way to implement that...

Okay, I've managed to patch it. Do you accept patches or pull requests, what's the right way to send it? or just here, in comments? I've never made pull requests...

> Is this issue also connected to #275? They are not. That patch can be applied alongside with this one. Actually №275 helped to notice broken links. It made them...

Here is a live example with both patches applied: https://petelinsasha.ru/wiki/playground/dw2pdf_test

https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/issues/275 https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/issues/416

I mean, there must be something like this: ``` # Install: delete when done location ~ \.php$ { include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; #fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; } location ~...

@pamtbaau, thanks for taking a look into this issue. As you succeeded getting previews working, I should conclude that some details are important for reproducing this. For now, the only...

For nginx it will be ``` location ~ /\. { return 403; } ``` or mixed with existing Grav rules (at the end): `location ~ /(LICENSE\.txt|composer\.lock|composer\.json|nginx\.conf|web\.config|htaccess\.txt|\.htaccess|\.) { return 403; }`

Also I would suggest changing `location ~ \.php$` (any .php) to just `location /index.php` (a single .php) because Grav has only one executable php.