Vanilla 1.0.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoracarravedo
    • CommentTimeJan 18th 2007
     
    Hello,

    First, sorry for my english!!!!

    Second, if you try to pass the test of Tidy, with a Tag that incorporates the character “&”, it gives an error, as much the connection as the name.

    In order to solve it we have modified the file “ultimate-tag-warrior-core.php” (function FormatTag : Line 1111), replacing this ...

    $tag_display = str_replace('_',' ', $tag->tag);
    $tag_display = str_replace('-',' ',$tag_display);
    $tag_display = stripslashes($tag_display);
    $tag_name = strtolower($tag->tag);
    $tag_name_url = urlencode(stripslashes($tag_name));

    $trati_tag_name = str_replace(' ', '+', $tag_display);
    $flickr_tag_name = str_replace(' ', '', $tag_display);
    $wiki_tag_name = str_replace(' ', '_', $tag_display);
    $gada_tag_name = str_replace(' ', '.',$tag_display);

    ... by this ...

    $tag_display = str_replace('_',' ', $tag->tag);
    $tag_display = str_replace('-',' ',$tag_display);
    $tag_display = stripslashes($tag_display);
    -->> $tag_display_url = urlencode(stripslashes($tag_display)); <<--
    -->> $tag_display = htmlspecialchars($tag_display); <<--

    $tag_name = strtolower($tag->tag);
    $tag_name_url = urlencode(stripslashes($tag_name));

    -->> $trati_tag_name = str_replace(' ', '+', $tag_display_url); <<--
    -->> $flickr_tag_name = str_replace(' ', '', $tag_display_url); <<--
    -->> $wiki_tag_name = str_replace(' ', '_', $tag_display_url); <<--
    -->> $gada_tag_name = str_replace(' ', '.',$tag_display_url); <<--

    Somebody has a different solution?

    Thanks!!!