justinhunt / moodle-filter_poodll

The PoodLL Filter
6 stars 17 forks source link

Too wide css selector causes problems with another plugin #47

Open mmpetri opened 8 months ago

mmpetri commented 8 months ago

There is general selector in styles which can cause problems with other plugins https://github.com/justinhunt/moodle-filter_poodll/blob/poodll3/styles.css#L2465

That .marker i is bit too general/wide rule especially for Moodle which has habit of having variations with various selectors with it's numerous plugins and coding practises.

In this case that selector should be bit more poodll spesific so it would be more safer to not affect other elements.

In this case it was noticed because it causes similarly named element in Moodles 'format_onetopic' to break down because that too has element classified as marker i image