• The new Jetpack feature adds “Edit CSS” to the Appearances menu. However, I find that, whenever I add CSS to the input text field, the elements are surrounded by <p> paragraph </p> tags.

    You can see a screen shot here: https://files.glenc.co/pictures/cssparatags.png

    What’s odd is that it seems to be knowledgeable about the structure of CSS: I can edit the text, removing all newlines, and it will reformat it (aka “pretty print”) and add the paragraph tags back in.

    Of course, the CSS is not accepted in this manner, so nothing works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi gecampbell,

    Can you please switch to the default theme, twentyeleven, and disable all plugins except jetpack and see if you are still having the issue. It is very likely that another plugin or your theme has added a filter that could be causing this. If this fixes your issue change your theme back and enable each plugin one by one to determine the culprit.

    Thread Starter gecampbell

    (@gecampbell)

    It was the “Markdown on Save Improved” plugin that was doing it.

    FYI, it’s also stripping out some of the CSS. For example, I’m trying to define a web font, and it’s removing the url() element from the src: tag.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Jetpack by WordPress.com] New "Edit CSS" feature adds paragraph tags’ is closed to new replies.