Open alexanderroidl opened 3 weeks ago
Thank you for reporting the issues.
Quick hotfix for both issues would be to change the code, so there is a space after <li
:
<?php for ($p = $pages; $p > 0; $p--): ?>
<li <?= ($gb_page == $p) ? 'class="active"' : ''; ?>>
<a href="index.php?page=gb&gbpage=<?= $p; ?>"><?= $p; ?></a>
</li>
<?php endfor; ?>
Anyway, we will try to handle it on our end too.
Thanks
Thanks to both of you @Miloslav and @jakubmisek. I will post an issue in the VSCode repository sometime soon as well. Your work is much appreciated!
The following PHP code...
...is getting formatted like this...
...while also being highlighted like this (see line 2):![Screenshot from 2024-06-14 13-25-09](https://github.com/DEVSENSE/phptools-docs/assets/34438048/0502a464-1e34-4bd3-89fa-71fa16e20dc3)
System info
OS: Ubuntu 24.04 LTSPHP version: 8.3.6
Visual Studio Code version: 1.90.0 89de5a8d4d6205e5b11647eb6a74844ca23d2573 x64
phptools-vscode version: 1.47.15512