Bug Tracker

Opened 10 years ago

Closed 10 years ago

#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:
Blocked by: Blocking:

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&amp;Value'>sub folder&2</a>", "classes": "folder" , "hasChildren": true, "id": "5.3"

}

]

Change History (2)

comment:1 Changed 10 years ago by wout

Close issue please.

I messed up &amp; and %26. &amp; is used within HTML and %26 for in the url.

comment:2 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

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 .

Note: See TracTickets for help on using tickets.