statically catch duplicate attributes #66

Open
alokmenghrajani opened this Issue Jun 26, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

alokmenghrajani commented Jun 26, 2012

When I try to compile the following snippet, it compiles fine:

function start(_) {
  Resource.styled_page("", [],
    <>                                                                                                                                                               
      <div id="1" id="2">hi</div>                                                                                                                                    
    </>
  )
}

Server.start(
  Server.http,
  [{dispatch: start}]
)

However, Firefox will not render a page with invalid xml (duplicate id attribtues).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment