s9e / phpbb-ext-highlighter

MIT License
15 stars 8 forks source link

phpbb-ext-highlighter mangles PHP code #2

Closed amosbatto closed 6 years ago

amosbatto commented 6 years ago

phpbb-ext-highlighter mangles PHP code and inserts line breaks in the code, making it unreadable. In phpBB3 3.2.2, see the screenshots of the PHP code with and without the highligher:

phpwithouts9e screwedupphpwiths9e

JoshyPHP commented 6 years ago

Can you post the exact content of the original post in text form please? I need it to reproduce it locally.

JoshyPHP commented 6 years ago

It works fine for me and judging by those screenshots, this is an issue with your theme's CSS. Upgrade to the latest version of the add-on and make sure your theme does not define broad rules such as code span.