Ticket #4776 (closed bug: invalid)
[Treeview] & in the text property gets converted to &
| Reported by: | wout | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | plugin | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I'm using the jquery treeview with the async treeview extension. My service returns json objects and the text property contains hyperlinks. Special characters are in 'HTML safe' notation. Example: & becomes & For an example see below.
When running the treeview the folder nodes are actually hyperlinks ( as expected). However the hyperlinks are back in unsave notation. Seems like the treeview plugin translates the & back to a & value.
This causes the target page in incorrectly parse the querystring.
Regards, W
[
{
"text": "<a href=' http://localhost:2200/Custom.aspx?FilterValue1=Demo&Value'>sub folder&2</a>", "classes": "folder" , "hasChildren": true, "id": "5.3"
}
]
Change History
comment:2 Changed 4 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Close issue please.
I messed up & and %26. & is used within HTML and %26 for in the url.