joomla-projects/joomla-cms — pull request #254 by PAlexcom (2014-03-11 15:04:10+00:00)
Title: JMicrodata: small bug fix, reset params after the display() method

Patch for a small bug.

Problem:
Not all params are reseted after the display() method.
For example in this example:
```php
$microdata = new JMicrodata('Article');
$html = $microdata->enable(false)->property('name')->content('TITLE ARTICLE ')->display()
. $microdata->property('aggregateRating')->display();
```
It returns
```html
TITLE ARTICLE TITLE ARTICLE
```
but the output should be
```html
TITLE ARTICLE
```
The problem is that the ```$content``` param is not reseted when JMicrodata is disabled.