Skip to main content

Bug Tracker

Side navigation

#756 closed enhancement (fixed)

Opened January 05, 2007 09:01PM UTC

Closed January 07, 2007 11:59PM UTC

Last modified June 20, 2007 02:47AM UTC

.text(val) should set escaped text

Reported by: john Owned by:
Priority: major Milestone:
Component: core Version:
Keywords: Cc:
Blocked by: Blocking:
Description

Current it just sets the HTML, when it should set the actual text instead.

For example:

  $("p").text("<b>foo</b>");

Would give this result:

  <p><b>foo</b></p>
Attachments (0)
Change History (2)

Changed January 07, 2007 10:54PM UTC by john comment:1

milestone: 1.1
type: bugenhancement
version: 1.1

Changed January 07, 2007 11:59PM UTC by joern comment:2

resolution: → fixed
status: newclosed

Added to SVN, with an additional stripTags argument.