Side navigation
#13836 closed bug (duplicate)
Opened April 29, 2013 09:32PM UTC
Closed April 29, 2013 09:56PM UTC
Strings that start with a whitespace will cause appendTo() to fail.
| Reported by: | WhollyAnointed@hotmail.com | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 2.0.0 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Strings that begin with a whitespace will cause appendTo() to fail. This applies to both 1.9.1 and 2.x. Previous versions didn't have this issue.
E.x:
// This will pass!
$('<h1>PASS</h1>').appendTo('#myDiv');
// This will fail due to string starting with whitespace
$(' <h1>FAIL! String begins with whitespace!</h1>').appendTo('#myDiv');
Attachments (0)
Change History (1)
Changed April 29, 2013 09:56PM UTC by comment:1
| resolution: | → duplicate |
|---|---|
| status: | new → closed |
Duplicate of #13223.