• I just upgraded from 1.0.2 to 1.2. Everything looks good except for one thing.
    Some of the names of my links are in italics. For example, there are some in Latin.
    Example: Ipse Dixit
    In 1.0.2 I was able to put an “i” tag around that to make it italicized. That’s the way I want it. On the downside, that would throw it out of alphabetical order, but at least it would show up italicized.
    Now that doesn’t work. WP 1.2 apparently escapes any kind of HTML entity it finds, like an “i” tag, or HTML character entities of the & # 38 ; sort. Since I am in 8859-1 character mode, I can no longer use non-English characters in link names, either.
    Is there some way to turn this “feature” off. I don’t want WP to just “automatically ” do this. I want to turn it off.
    TIA.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Why not italicize them in CSS.
    font-style: italic;

    Or you could just dissable all plugins that are certainly reformating your text.

    Thread Starter awh

    (@awh)

    I can’t use CSS because I don’t want to italicize all of the links, only some of them.
    I have no plugins that are reformatting the text. WordPress is doing it. The behavior changed between 1.0.2 and 1.2.

    awh, there are some filters that act upon the title.
    this site: https://www.junesix.org/xref/stable/nav.php?index.php
    might help you find these…
    there should be add_filter(x, y) where either x or y is the title….
    I am sorry I can;t be more explicit.
    You will need to remove the filter that removes the html entities and cleans up the title.

    in /wp-includes/links.php on line 186
    $name = htmlspecialchars(stripslashes($row->link_name), ENT_QUOTES);
    take out “htmlspecialchars”
    $name = stripslashes($row->link_name);

    or just use a class=”ital” on the links that you want italicized

    Thread Starter awh

    (@awh)

    Filters sound like they might work.
    Not sure how to make class=”ital” work.
    I did the htmlspecialchars edit on links.php, and it works!!!
    Thank you, MattRead, and everyone else who posted!

    Thread Starter awh

    (@awh)

    Keywords for searches: symbol, symbols, html characters, italic, style, links, latin, foreign language, escaped, unescaped, unescape, escape,

    ddf///ddfd

    lol funny forum ?? ***

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘can’t put HTML entities in link names’ is closed to new replies.