Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author podpirate

    (@podpirate)

    Maybe a problem with the <?
    This HTML works for me:
    <pre data-language="r">x <- x[c(1,5)]</pre>

    Thread Starter hasan_hazem

    (@hasan_hazem)

    Hello thanks for your answer,

    i do a copy paste of your code to the text of my article and the result is the same:

    <pre data-language="r">x <- x
    
    [c language="(1,5)"][/c]
    </pre>
    Plugin Author podpirate

    (@podpirate)

    Then there must be something else messing with your HTML. [c(1,5)] becoming [c language="(1,5)"][/c] looks pretty much like a shortcode issue – like something that tries to ‘sanitize’ shortcodes. Did you try to deactivate other plugins?

    Thread Starter hasan_hazem

    (@hasan_hazem)

    Hello,

    Thanks the problem was because another plugin that i have forgot to desactivate.

    Regards and thanks again

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘R code problem’ is closed to new replies.