hfg-gmuend / hfg-documentation-generator

The HfG Documentation Generator
15 stars 7 forks source link

Sourcecode keeps pages from showing #26

Open bohnacker opened 4 years ago

bohnacker commented 4 years ago

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

PaulRaschke commented 4 years ago

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.

bohnacker commented 4 years ago

Thanks for the info. Thought something like that.

bohnacker commented 4 years ago

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.