Course section doesn't show html styles (moodle 3.5)

Course section doesn't show html styles (moodle 3.5)

by Roger Domínguez Argemí -
Number of replies: 1

Hi Daniel,

While mobile course shows font-awesome icons, the course section with html styles is not shown correctly (are show in plain text). Please, find attached and screenshot.

Please, could you confirm how we can represent in the mobile course the html styles in a label/section of a course?

Many thanks for your collaboration.

Regards,

RD

Attachment Screenshot_20180730-121745.png
Average of ratings: -
In reply to Roger Domínguez Argemí

Re: Course section doesn't show html styles (moodle 3.5)

by Pau Ferrer Ocaña -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers

Hi Roger,

The Moodle 3.5 app currently supports fontawesome v4.7. So adding the propper HTML like:  <i class="fa fa-address-book" aria-hidden="true"></i> should be enough to show the icons propperly. There are some parts where html is not allowed (i.e activity titles) but ou would see the icons in any platform. If you want to add styles to that icons you should use inline styles or remote themes.

I hope this clarifies your doubt!

Cheers,

Pau

Average of ratings: Useful (1)