Annoying WOBuilder bug

It is pretty well known that WOBuilder has its share of bugs. My current pet peeve is what it does to xhtml-compliant br tags. To see this for yourself:

  • Add a <br> tag to your component.
  • Switch to the source view and reformat the <br> so it is correctly formatted for xhtml (ie: <br />)
  • Switch back to layout view and select, cut and paste the <br />.
  • Switch to the source view and look at the result. It will look like this: <br /="">