Viewing 5 replies - 1 through 5 (of 5 total)
  • I’ve actually researched a solution to this problem but I haven’t yet found a solution that works with the shortcode which can appear in the middle of the page when <head> has already been rendered.

    The only way I’ve found so far is to buffer the output and inject the style tag into <head> but I don’t think it’s worth the complexity and could possibly decrease the page load performance / user experience.

    If you have any suggestions on how to solve this I’m all ears:)

    Thread Starter Bunzer

    (@bunzer)

    It’s a bit above my level, I’m afraid. But the plug-in works great anyway. Cheers.

    Thread Starter Bunzer

    (@bunzer)

    Uninstalled. I changed theme and removed a lot of tags.

    Sorry to re-open this. I understand the issue, but failing validation bugs me. At the minimum could you provide an option somewhere. I found commenting out lines 331-333 in Render.php enabled validation (by removing the style code) without changing the appearance of the widget. It would be nice to have this as an option

    As a possible proper solution – couldn’t you always add the styles in the head and then use jquery to modify them later if needed?

    Plugin Author Rickard Andersson

    (@exz)

    I’m not really in favor of the jQuery solution since that would break the appearance for non javascript clients.

    However when I first researched this i tried to find a solution that would work for all the cases where the tag cloud could be used (widget, short code, php code). I suppose it would be possible to only output inline styles whenever absolutely necessary.

    I don’t really feel this is a prioritized issue right now but I will add it to the github list of issues.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘XHTML validation failing’ is closed to new replies.