Skip to:
Content
Pages
Categories
Search
Top
Bottom

The matter of backslashes


  • djintelbe
    Participant

    @djintelbe

    Hello,

    Some mathematical objects written in mathjax/latex use backslash (\). For example, one use \sqrt{} for the square root function, \mathbb{} for the set of numbers. In bbpress forums, these objects work perfectly but when the forums are displayed in buddypress activities streams, the backslash disappears and therefore the mathematical symbols are not rendered and make the texts difficult to read. If the texts are typed directly in buddypress side, things are also alright. So, the problem seems to be in the transition from forum to the buddypress activities.

    I tried some solutions but nothing work. For example, I tried this solution: remove_filter( ‘bp_get_the_topic_post_content’, ‘stripslashes_deep’ ); but it did not work.
    So I am asking for help; how can I do to solve the problem?

    Thank you in advance

    Wordpress 5.7.2
    bbpress 2.6.6

    Regards

    Nestor

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar