hfg-documentation-generator icon indicating copy to clipboard operation
hfg-documentation-generator copied to clipboard

Sourcecode keeps pages from showing

Open bohnacker opened this issue 5 years ago • 3 comments

Putting in sourcecode on a page will keep the page from showing. I alread had that on the old page but could not fix it.

These both pages will not show: https://projects.hfg-gmuend.de/testing/hartmuts-doku/sourcecode-als-file https://projects.hfg-gmuend.de/testing/hartmuts-doku/sourcecode-mit-accents

bohnacker avatar Mar 23 '20 13:03 bohnacker

This is a problem with the used version of the code highlighter plugin that does not seem to work with php 7.3. As a temporary fix php 7.2 can be used, but the plugin should be updated in the future to allow the use of php 7.3 and up.

PaulRaschke avatar Mar 24 '20 15:03 PaulRaschke

Thanks for the info. Thought something like that.

bohnacker avatar Mar 24 '20 16:03 bohnacker

If we keep having problems with the syntax highlighting plugin: I used Prism (https://prismjs.com/) on my website which is just a javascript/css solution and therefore independent of any php versions.

bohnacker avatar Mar 25 '20 13:03 bohnacker