Easy come, easy go! Tidying up HTML Tidy.

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • So recently, I saw a notification that said I should install php-tidy on my Moodle server. It turns out maybe you shouldn't. The php-tidy module is needed for the HTML tidy filter to work (I haven't ever used HTML tidy, but it's a thing). The only problem; HTML tidy, when working, has a tendency to break the embedded answers (cloze) questions type, and it may break something else too...
    Anyway, the devs at Moodle have noticed this and work is underway to remove this rather ancient piece of Moodle, In the meantime, I would recommend ignoring the suggestion to install php-tidy and just ride this out.

КОМЕНТАРІ • 7

  • @tallthom
    @tallthom 18 днів тому +1

    Thank you Adam! It is also useful to disable the filter for either a specific course or a specific quiz. That might be useful for people who are not administrators of their site and need it turned off right away.

    • @Wise-Cat
      @Wise-Cat  18 днів тому

      Great point Thom! Thanks! 🙏

    • @tallthom
      @tallthom 17 днів тому

      @@Wise-Cat one other thought -- could you possibly do a demo on what HTML Tidy actually *does* in Moodle? I would like to know specifically what benefits you are getting if you have that filter turned on - can we show some "tidied up HTML" or something? In addition, there is another similar filter called "Code" something-something. I couldn't seem to get it to do very much when I activated it. It might warrant some investigations if you think it is worthwhile. Again, I really appreciate all your enthusiasm and efforts to show different aspects of Moodle. Thank you Adam! #moodlelegendinthemaking

    • @Wise-Cat
      @Wise-Cat  17 днів тому +1

      I probably won't focus on HTML Tidy anymore as it's being removed (and I don't really know what it does and don't really feel like researching that), but am hoping to make more videos introducing various plugins soon. So the code filter could well be one of those.

    • @tallthom
      @tallthom 17 днів тому

      @@Wise-Cat I wonder how many other things in Moodle are there but not working or not being used? That could be a research topic...

  • @Jyebra
    @Jyebra 24 дні тому +1

    Once again you saved me a lot of trouble, thanks!

    • @Wise-Cat
      @Wise-Cat  24 дні тому +1

      Glad to hear it was useful. When Bill first saw the trouble, it was also straight after he had upgraded to 4.4, so it took some time to figure out the problem was HTML Tidy and not something else in the upgrade.