PassMark Logo
Home » Forum

HTML in description

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rico
    Junior Member
    • Apr 2012
    • 12

    #1

    HTML in description

    In the result page are shown HTML-tags, when you use them in the description

    1. Photogallery Capanna Adula UTOE [Photogalleries]
    Bildergallerie <strong>Capanna Adula UTOE</strong> und ......

    it seems to be a bug.
  • Ray
    Administrator
    • Dec 2004
    • 4357

    #2
    Are these your meta descriptions? That is, are they on your page in a meta tag like so:

    <meta name="DESCRIPTION" content="Bildergallerie <strong>Capanna Adula UTOE</strong> und">

    If that's the case, then it's not valid, because you can't have HTML values inside the meta tag content.

    Otherwise, give us the URL to the page in question and we can take a look.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    • Rico
      Junior Member
      • Apr 2012
      • 12

      #3
      >> <meta name="DESCRIPTION" content="Bildergallerie <strong>Capanna Adula UTOE</strong> und"

      Yes! And it is W3C valid. For "content=" any string is allowed. I have changed my description.

      Comment

      • David
        Administrator
        • Dec 2004
        • 4714

        #4
        This is what is stated in the HTML standards, for a META data content field (CDATA).

        "The first occurrence of the character sequence "</" (end-tag open delimiter) is treated as terminating the end of the element's content. In valid documents, this would be the end tag for the element."

        So I don't think it is valid HTML.

        Comment

        Working...