Documentation module stripping html

blindmime
@blindmime
7 years ago
772 posts
I'd like to add something like this in Documentation:
<audio controls>
  <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

However, the Documentation module is stripping out everything except, "Your browser does not support the audio element."

I've added the tags to the allowable tags for the quota. After that didn't work I checked the Allow All HTML box and that didn't work either.
updated by @blindmime: 03/02/18 03:38:20PM
paul
@paul
7 years ago
4,326 posts
I think you'll need to put it inside a 'code' section.
hth


--
Paul Asher - JR Developer and System Import Specialist
blindmime
@blindmime
7 years ago
772 posts
I want it to actually display an html5 audio player.
michael
@michael
7 years ago
7,715 posts
Try enabling the ALLOW ALL TAGS option for that users quota. Its not an option that should be turned on for anyone other than an admin user because they can add anything, but it does allow audio items to come out in TEXT content doc types
player.jpg
player.jpg  •  28KB

allow_all_tags.jpg
allow_all_tags.jpg  •  224KB

Tags