Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+7 votes
in Q2A Core by
edited by


I know this question is already ask but I have not found solution for this ?

I am using images as answer how can i solve this ?

1 Answer

+2 votes

Finally, I got access to a link showing this error. I believe I've cracked it. It seems people copy/paste other answers. If they copy the part of the answer that includes microdata, then the microdata is also copied. So when they paste the content, they also paste the microdata from the original answer.

This results in an answer having the "text" attribute of its own and also a nested "text" attribute from the original answer. This should be fixed by just disallowing all microdata tags.

I've applied a fix and the errors went away in https://search.google.com/test/rich-results. Surprisingly, the validator https://validator.schema.org doesn't show any error at all so you won't see any change there.

The step to fix this is adding this line: https://github.com/q2a/question2answer/pull/909/files. Please, let me know if this gets the issue fixed on your side as well.

Where I should add the line
It's right there in the last link
Thank you it worked for me.