Re: Component editor swallowing text after format (Command-Shift-F)

From: Ricardo J. Parada (rparad..ac.com)
Date: Wed May 06 2009 - 14:17:05 EDT

  • Next message: David Avendasora: "Re: Component editor swallowing text after format (Command-Shift-F)"

    On May 6, 2009, at 1:59 PM, David Avendasora wrote:

    > As far as I know, that is not correct usage of the <br/> tag.
    >
    > <br> is HTML
    > <br/> is XHTML
    >

    ok... are you saying my content has to be in xhtml to run it through
    the formatter?

    > There are no attributes or contents to a br tag.
    >
    >
    > If you want a line break before and after, you should use:
    >
    > <br/>
    > Blah blah blah blah
    > <br/>
    >

    I was just formatting some of my old components. My app generates
    HTML 4.01 Transitional.

    So blah blah blah followed by a <br> is valid HTML 4.01 as far as I
    know. I'm guessing the Format command in the component editor is
    expecting xhtml, and if I'm not feeding it that then I should use it
    with care.

    :-)

    > Dave
    >
    > On May 6, 2009, at 1:29 PM, Ricardo J. Parada wrote:
    >
    >> Hi,
    >>
    >> Not sure if this is a known bug.... I have this in the html:
    >>
    >> Blah blah blah blah.
    >> <br>
    >>
    >> Then after I reformat using Edit : Refactor : Format (Command+Shift
    >> +F) from the file menu in the WOLips perspective then the text Blah
    >> blah blah blah disappears and I end up with only the following in
    >> the html:
    >>
    >> <br />
    >>
    >



    This archive was generated by hypermail 2.0.0 : Wed May 06 2009 - 14:18:08 EDT