View Single Post
Old 03-08-2021, 08:50 PM   #5621
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,005
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JimmXinu View Post
Those are appearing outside the post body as FFF currently defines it.

It may or may not be feasible to include the svg image dice, but including at least the legend and info should be. I will investigate.
The XenForo2 dice roller used by SB/SV is only available when you edit your own posts. As mentioned, the rolls appear outside post text and are displayed using in-line <svg> images. And, for SV at least, the dice rolls only appear to logged in users.

A couple examples I've found:
https://forums.sufficientvelocity.co...9#post-5392497
https://forums.spacebattles.com/thre...#post-62740807

QQ uses a different dice roller that doesn't use SVG images and the rolls do appear inside the post text. Only some CSS is needed for that one.

The other two supported XenForo2 sites don't appear to use the dice roller.

FFF generally removes most HTML attributes to normalize appearance across sites. Inline <svg> images are made up of possibly dozens of different tags using even more possible attributes, so normal FFF behavior wrecks them pretty thoroughly.

I can't find any past mention of stories with inline <svg> images (<img>s using SVG files, yes, <svg> images, no), so I'm reluctant to change a bunch of stuff to try and make them work here since it's really just a nicety.

I'm going to look at it some more, but that's where I am now.
JimmXinu is offline   Reply With Quote