MightyMikeX
Forum Replies Created
-
Cool – that would be great
Any hints as to what PHP lines I could drop in the theme to display achievements of each user?
So far I’ve only seen it the other way around: users displayed under each achievement.If it works out well I could post a guide here to help others until said update comes ??
Well at least it’s a harmless bug. I’ll live with it for now ??
No, I don’t see any relevant errors.
I forgot to mention – it’s already in the allowed HTML tags list
Ok, I did some cross-checking and came to a few conclusions:
1. The garbage markup doesn’t appear in the original posts’ code
2. The markup also doesn’t appear in any post page’s code
3. It’s not an issue of language – recreated the bug in English and Hebrew both
4. The problem only manifests where the posts are displayed by SRP
5. The problem only happens when there are <p> tags in the post
6. Not sure why, but now the garbage markup is:<!--<--><!--<--><!--<--><!--<-->
, which are comment tags containing just a < sign
7. Even though the garbage markup is in fact commented, W3C still sees it as an error
8. W3C also reveals an additional error:
No p element in scope but a p end tag seen.
— this error is indeed true in the source code, but isn’t present in the post’s code in TinyMCE – the additional </p> must be added somehow when the page is rendered. This again only happens inside the SRP widget.So what I take from all this is that a combination of <p> or </p> tags in a post lead SRP or WP itself to create that markup, and only within SRP’s widget. Any ideas?