Side navigation
#12667 closed bug (notabug)
Opened October 07, 2012 04:20AM UTC
Closed October 07, 2012 02:05PM UTC
html() crashes on SVG elements
| Reported by: | mjbecze@gmail.com | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
For example
$("#svg_element").html();
results in
Uncaught TypeError: Cannot call method 'replace' of undefined
at line 5935
5935 elem.innerHTML.replace( rinlinejQuery, "" ) :
Attachments (0)
Change History (1)
Changed October 07, 2012 02:05PM UTC by comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
SVG elements don't contain HTML, right? So asking for it is, well, asking for it. I don't think we should just return an empty string, since that would just mask the problem.