jquery/jquery — pull request #1256 by diofeher (2013-04-25 20:37:09+00:00)
Title: Fix in .text method when setting a value

After upgrading to jQuery 1.9.1 I had some errors involving .text method.
When setting a value, instead of the text I was getting [Object Text] in the element.

Example (console):

$('.brief').text('test')
[

​[object Text]​

​
]

My fix put actual content in the element.