sharepoint 2003 little bug versus 2007

You know that little message displayed on sharepoint pages when we want to add new item. Add New item page.
I am talking about the message:
''* INDICATES A REQUIRED FIELD''
When I checked the rendered html of the page, sharepont renders the page as:
<BR><font>&nbp;* indicates a required field...
and the BR tag is NOT closed with </BR>

Whereas in 2007 there is no: <BR> tag. 2007 renders as <span>&nbp;* indicates a required field </span>
in 2003 the <BR> tag is not closed and that creates a problem for me while programming based on the context html of the rendred html.
My question: how do I get rid of the <BR> tag when sharepoint 2003 renders the add new item

You might consider this question either as part of design or part of programming
Thanks for help in advance




Answer this question

sharepoint 2003 little bug versus 2007

  • Les R

    The BR tag is not closed since 2003 was not in any way xhtml compliant. That was the way we all did breaks for YEARS :-)

    What exactly are you trying to accomplish that this is causing you problems There may be a better way to accomplish it.



  • Steve Jackson

    i found tha t the problem was i didn t include the &nbsp; in my regex and the //s for the sapce

    That fixed the problem

    thanks a lot



  • sharepoint 2003 little bug versus 2007