Closed GoogleCodeExporter closed 8 years ago
I'm not really sure i want to do this. If you need to escape the HTML then you
can do so; adding functionality to the library to cater for this seems like
unnecessary complexity to me. I will add a note to the API docs for setLabel
to make it clearer.
Original comment by simon.po...@gmail.com
on 21 Jun 2012 at 6:03
done in 1.3.10 dev
Original comment by simon.po...@gmail.com
on 21 Jun 2012 at 6:05
I don't think that using a TextNode rather than innerHTML is really "adding
functionality to the library", but thanks for at least updating the docs.
Original comment by bluej...@gmail.com
on 21 Jun 2012 at 5:14
it's just an issue of whether or not it is necessary. if i added a new
function then the user would have to make the decision to use one or the other
function in their own code - you still have to do _something_. may as well
leave jsPlumb to do what it does best and deal with app specific stuff like
this in the user's code.
Original comment by simon.po...@gmail.com
on 21 Jun 2012 at 8:22
Original comment by simon.po...@gmail.com
on 22 Jun 2012 at 3:41
Original issue reported on code.google.com by
bluej...@gmail.com
on 20 Jun 2012 at 8:46