Suzuki Stumpy Posted September 23, 2023 Clone Share Posted September 23, 2023 I've just noticed that the html sanitizer is stripping superscript tags from the HTML when I try to add them in source mode. Any chance we can have support for the <sub> and <sup> tags please? Don't necessarily need a toolbar button for them as they're not likely to be used that often, but it's a royal PITA to have to use: <span style="vertical-height: super; font-size: 75%;"> every time. Link to comment Share on other sites More sharing options...
Neopopulas Posted September 23, 2023 Clone Share Posted September 23, 2023 Test Superscript Test Subscript What you're looking for is these two, if i'm understanding correctly Link to comment Share on other sites More sharing options...
Eric Posted September 23, 2023 Clone Share Posted September 23, 2023 @Suzuki Stumpy So, they are supported, but there might still be an issue here. In what context are you trying to use the sub/super tag? There might be a secondary rule on a custom editor widget that is affecting you. Link to comment Share on other sites More sharing options...
Suzuki Stumpy Posted September 24, 2023 Author Clone Share Posted September 24, 2023 I missed the buttons so was adding <sup></sup> tags to an in-game post via the source editor. When I clicked the OK button to close the editor and return to the post, the text wasn’t showing in superscript and reopening the source editor showed that these had been stripped. Link to comment Share on other sites More sharing options...
Eric Posted September 24, 2023 Clone Share Posted September 24, 2023 Was the <sup> inside something else, like a fieldset or OOC? Link to comment Share on other sites More sharing options...
Suzuki Stumpy Posted September 24, 2023 Author Clone Share Posted September 24, 2023 The entire post is inside a fieldset. Here's a link to the post as-is: https://www.myth-weavers.com/index.php?/topic/10195-the-mines-of-firienseld/&do=findComment&comment=126859 Link to comment Share on other sites More sharing options...
Eric Posted September 24, 2023 Clone Share Posted September 24, 2023 Yup, that's it. sub and super are not on the allowed content list for fieldsets. Yet. Link to comment Share on other sites More sharing options...
Suzuki Stumpy Posted September 24, 2023 Author Clone Share Posted September 24, 2023 Thanks Eric. Link to comment Share on other sites More sharing options...
Eric Posted October 9, 2023 Clone Share Posted October 9, 2023 This should be resolved. (Cache clear may be required.) Link to comment Share on other sites More sharing options...
Recommended Posts