gjbarnard / moodle-filter_synhi

Syntax highlighter
GNU General Public License v3.0
2 stars 2 forks source link

The markup is broken, highlighting will be wrong. #11

Closed a-kempka closed 1 year ago

a-kempka commented 1 year ago

Describe the bug In the admin settings (/admin/settings.php?section=filter_synhi_settings) the preview is broken and the error message "The markup is broken, highlighting will be wrong." is displayed

To Reproduce Steps to reproduce the behaviour:

  1. Update to version 39.1.0 (2020073106)
  2. Go to admin settings (/admin/settings.php?section=filter_synhi_settings)

Expected behaviour a working preview using any engine

Screenshots image

Versions (please complete the following information):

gjb2048 commented 1 year ago

@a-kempka As you've upgraded, your 'codeexample' setting is using the old default, please set it to the new one. There was no code logic that I could think of in the upgrade process to make this happen automatically.