Skip to content

Fix duplicated mainEntity.suggestedAnswer.text microdata error#909

Merged
svivian merged 1 commit intoq2a:bugfixfrom
pupi1985:patch-144
Jul 6, 2023
Merged

Fix duplicated mainEntity.suggestedAnswer.text microdata error#909
svivian merged 1 commit intoq2a:bugfixfrom
pupi1985:patch-144

Conversation

@pupi1985
Copy link
Contributor

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 other 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.

@svivian svivian merged commit a8480f8 into q2a:bugfix Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants