m4v3rick If you hover a post reply with a spoiler, the tooltip shows the spoiler without hiding. Can this be fixed somehow?
askvortsov Ah I see, mentions previews currently strip formatting: https://github.com/flarum/core/blob/59dc3c26223350c8f96b78b896478d16e3be327a/js/src/forum/components/PostPreview.js#L20-L20 We could try to change this, but it would be a bit difficult (or at the least, a lot less performant) to get an excerpt from post content if we allow arbitrarily nested complex elements. We'd need a new highlightVnode function that recursively iterates through vnodes / vnode child arrays and adds nested elements while the content length is of the expected size.
m4v3rick askvortsov a lot less performant I guess I'd rather prefer performance to a solution that is less performant. 😉