Knowledge Base Archives:

Advanced

Level: Advanced

Why quoted content shows HTML tags?

In bbPress, only some user roles can post unrestricted HTML content. Other users can only use some basic set of HTML tags, and tags like UL, LI, and DIV… will not work, and bbPress will save them as text, not HTML. Because of that, when you quote complex HTML content, tags normally not supported will be displayed as text, not HTML.

To fix this, you must allow all user roles to use the expanded set of HTML tags. And to do that, open the bbPress Toolbox -> Features -> Tweaks -> Expand KSES allowed HTML tags and attributes -> Allowed tags list. The Select box has 3 options: the default bbPress set of HTML tags, and the other two include a wide range of supported HTML tags. You need to switch this option to the second or third option.

But, some HTML tags are not permitted (IFRAME, SCRIPT, STYLE) because they can generally contain dangerous content, and when quoted, such tags will be escaped and saved as plain text. Because of that, quoting content that contains embedded content (FaceBook posts, Twitter tweets…) is not quotable.

0
0
3910
Rate this FAQ answer

You are not allowed to rate this post.

Can you nest BBCodes?

Yes. You can nest BBCodes as long as they are different types. You can have UL BBCode and inside it, you can have LI BBCodes.

And No. You can’t nest the same type of BBCodes. You can’t have UL inside another UL. Ordered or unordered list in HTML is allowed, and you can have UL, inside it several LI tags, and in those LI tags, you can have another UL. This will not work in WordPress, and BBCodes written like that will also fail to render properly. This will not change until WordPress fixes the issue.

1
0
4112
Rate this FAQ answer

You are not allowed to rate this post.