Stripped Paragraph spacing

  • Author
    Posts
  • #780741

    jimphelps
    Member

    I am trying to write a post on http://itana.org I cannot get paragraph breaks into my text. My text ends up as one long block of text. I enter multiple returns/enters in the visual editor and all I get are &nbsp tags. These get stripped by the visual editor on save draft. I enter <p> </p> tags in the HTML editor, these get stripped by the visual editor.

    Paragraphs are good. They give you white space and make things readable.

    Help please.
    Blog url: http://itanadotorg.wordpress.com/

    #780909

    macmanx
    Staff

    Does the same issue happen in Pages as opposed to Posts?

    #780927

    jimphelps
    Member

    Yes. The same behavior. I tried single returns, double returns (gives me an &nbsp which then gets stripped out) and manually inserting <p> tags.

    #780929

    macmanx
    Staff

    Can you tell us which browser (and version of) you’re using?

    #780947

    jimphelps
    Member

    IE 6. just kidding. I tried this and it is repeatable on:

    Safari Version 5.1.2 (7534.52.7)

    Chrome 16.0.912.63

    On Mac OS X 10.7.2

    #780978

    macmanx
    Staff

    Are you able to enter line breaks if you switch themes?

    #781000

    jimphelps
    Member

    I tried the Inuit Types theme and Sandbox 1.6.2

    Both had the same behavior – multiple returns only inserts &nbsp and those get stripped out.

    #781001

    jimphelps
    Member

    ps. My current theme is Annotum Base.

    #781019

    markel
    Staff

    Hello,

    This is a bug in the Annotum theme that was fixed:

    https://github.com/Annotum/Annotum/issues/23

    Are you still running into this problem?

    #781023

    jimphelps
    Member

    Markel

    Yes. My bug is similar but it spans multiple themes (see above). I have manually inserted <p> tags and they are stripped out. Multiple <enter> key entries only insert &nbsp characters and they are stripped out. I have a hack that works but it is painful. I insert a <div style=”height: 14px;”></div> line where I want paragraph breaks. Those don’t get stripped out.

    Everything else I’ve tried does get stripped out. Safari, Chrome, three themes.

    #781025

    markel
    Staff

    Paragraph tags are now removed from HTML that is entered on WordPress.com as an intentional change.

    A normal hit or Return on your keyboard in the Visual editor will insert a paragraph break as it is designed by the theme. The Annotum theme wasn’t respecting this before but should now insert those as intended.

    Can you direct me to a post that is still displaying this problem?

    #781026

    jimphelps
    Member

    Would you like to try it yourself? I will make you an editor on the test blog (which is private). itanatest.wordpress.com

    It is currently running a different theme which also has the problem. Sandbox 1.6.2

    If you want an account on test, send me a username or email to add. I have no visible posts with the problem. The itana.org site is a production site for a peer-group of Enterprise, Business and Technical Architects in Higher Ed. Don’t really want bad posts out there.

    #781027

    jimphelps
    Member

    Markel

    I can also post a screen capture of the problem later if you want.

    #781029

    markel
    Staff

    The spacing in the most recent post on your test blog is paragraph spacing for that theme without any CSS changes.

    #781031

    jimphelps
    Member

    I just switched it back to Annotum and the lines run together. Is this a CSS problem with Annotum theme? I see the editor stripping the <p> tags (correct behavior) and &nbsp tags

    #781032

    jimphelps
    Member

    If you look at older posts under Annotum (Like Lurkers on the List), the text is all run together.

    #781034

    markel
    Staff

    This is the bug with Annotum that I posted above. It has been fixed in the self-hosted version of the theme but not yet on WordPress.com.

    I am checking into it.

    #781036

    jimphelps
    Member

    Excellent. Thanks for your help.

    #781044

    markel
    Staff

    It should now work when you look at a single post in Annotum.

    #781048

    jimphelps
    Member

    Markel – it does. Yay! Thanks for your help.

The topic ‘Stripped Paragraph spacing’ is closed to new replies.