I have changed my front page to include a Carousel of images. This Carousel is a jQuery plugin that uses CSS. So in my front page I added the following 2 lines:
<link href="https://MyURL/mod.com/FrontPageMod/owl-carousel/owl.carousel.css" rel="stylesheet" />
<link href="https://www.MyURL.com/mod/FrontPageMod/owl-carousel/owl.theme.css" rel="stylesheet" />
But when I save and return to the course, Moodle automatically removes the 2 lines of code from my front page making my Carousel not work.
This issue started after I upgraded from Moodle 2.5 to 3.1. As a matter of fact, the issue only showed up after I went into the HTML editor and did some changes to the code.
Can someone tell me why the HTML editor is removing the 2 lines of code? It seems that the HTML editor is doing some king of validation and removing the code.
Thanks in advance.