• OpenDNA

    (@opendna)


    What I want: a couple em between each paragraph in an entry.

    Problem: carriage returns are interpreted at ‘BR’ elements.

    Why This is a Problem: CSS does not allow assignment of attributes to ‘BR’ elements.

    Solution: Replace ‘BR’ interpretation of carriage returns with ‘P’ element. e.g. replace <BR> with </P><P>

    Question: How do I get WordPress to do that?

    Critical Info: I’m using ‘Textile 1’ (but willing to change to another editor plug-in).

Viewing 5 replies - 1 through 5 (of 5 total)
  • eridan

    (@eridan)

    Margin between paragraphs are handled by CSS, I can’t see why you want to use
    ?

    eridan

    (@eridan)

    why you want to use br.

    Thread Starter OpenDNA

    (@opendna)

    I don’t want to use br but that’s what WordPress is using for line breaks within entries. Until I can change this, margins do me no good because they can only be used on paragraphs.

    The question is: How do I get WP to use paragraphs instead of line breaks in .entries? Would changing to another editor plugin help? Suggestions?

    rwatkins

    (@rwatkins)

    Hey,

    If you use a double carriage return between your lines then WordPress inserts a <p>, otherwise it puts in a <br/>.

    So next time, press “Return” twice instead of once!

    Rob

    Thread Starter OpenDNA

    (@opendna)

    rwatkins: You da man. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Replacing <BR> element with <P> in entries?’ is closed to new replies.