Skip to main content

Bug Tracker

Side navigation

#4776 closed bug (invalid)

Opened June 17, 2009 12:33PM UTC

Closed October 12, 2009 11:45PM UTC

[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&Value'>sub folder&2</a>",

"classes": "folder" ,

"hasChildren": true,

"id": "5.3"

}

]

Attachments (0)
Change History (2)

Changed June 17, 2009 02:42PM UTC by wout comment:1

Close issue please.

I messed up & and %26.

& is used within HTML and %26 for in the url.

Changed October 12, 2009 11:45PM UTC by dmethvin comment:2

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 .