Unwanted microdata itemprop=’text’ string after Survey title
Unwanted microdata itemprop='text' string after Survey title
Hi maverick.
I'm using CommunitySurveys as a plugin to comment some articles, by add {LOADSURVEY ["id": x]} code.
After update CommunitySurveys form version 4.7.4 to 5.0.5 I have itemprop='text' string right after Survey title.
The whole code is:
<h1 class="no-space-top margin-bottom-10 survey-title">
<a href="link-to-survey.html"><span itemprop="headline">Survey title</span></a></h1>
<div class="survey-description">itemprop='text'</div>
I found that this is generated by line 63 of file:
/components/com_communitysurveys/layouts/default/survey/survey_intro.php
"echo $microdata->content($data->item->text)->property('text')->display();"
I don't know how can I fix this, except comment out this line.
I will be grateful for suggestions.
Best regards,
Brand New
Edit:
Joomla 3.8.13
PHP 5.6.31