Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Markus Johansson 1643 posts 4628 karma points c-trib
    Feb 02, 2015 @ 23:00
    Markus Johansson
    0

    Validation don't match special chars

    Hi!

    I have have pages with Swedish chars in the "Focus word" ie. å, ä, ö.

    When putting for example "Företag" as the focus work and using that text in the title and description the validator says that the word are missing. This is true for the the title and description but the validator finds the word in the bodyText and in the H1-tag.

    Could this be related to somekind of html-encoding or so in the properties used to comare? As the word "foretag" would work.

    Another issue with the swedish chars is that if I use them and go close to the maixum chars for the title (lets say I'm using 64 of 65 chars) I'm getting an error saying that the title is to long.

  • Richard Soeteman 3722 posts 11521 karma points MVP
    Feb 03, 2015 @ 09:24
    Richard Soeteman
    0

    Hi Marcus,

    Just checked here on V7 and it works. The validator is using the real (preview) HTML could it be that the data is not correct there?

    Cheers,

    Richard

  • Markus Johansson 1643 posts 4628 karma points c-trib
    Feb 03, 2015 @ 15:08
    Markus Johansson
    0

    Seems like your fixes to the master-template made the magic. I was using my own tags to render title and description but this code made the trick:


    @Html.Raw(SEOChecker.Library.MetaData.Current.RenderTags()) 

Please Sign in or register to post replies

Write your reply to:

Draft