Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: HTML in headings
    Thread Starter silentwarrior

    (@silentwarrior)

    Oh, I’m sorry, that was a misunderstanding – I don’t mean the <title> tag itself, but a) the headings of the respective posts and b) their “#n comments” links, in which as a title attribute (i.e.: <a href="..." TITLE="...">), the heading of the post itself appears. And here lies the problem: If there is HTML in the post heading, it is also put into this attribute, but that is not allowed. WordPress does not filter out HTML here which it actually should do. So I thought there might be a plugin to solve this. (I believe I can remember something like that for WordPress 1.5, although I’m not pretty sure it really did the same. It was called something like “Sanitize titles”. And yes, I know there is a filter/action (?) which is called the same, but it doesn’t do what I want.)

    I have absolutely no problems with <title> itself, and I know from the HTML compendium that it is CDATA only.

    I have also searched the filters and/or actions (don’t really get the difference yet, to be honest) for anything to modify the “#n comments” link, but as “TBD” as the description of most of them is not really useful, I haven’t been able to find anything suitable.

    Thread Starter silentwarrior

    (@silentwarrior)

    Hi!

    Thanks for your response, but it’s not about the titles of the blogs. I know how to shorten the slugs, but they are finde. In fact, during my Google research I even found a web site which dealt with the problem of (too) long slugs.

    But–again–this is not my problem. I’m speaking about totally normal links in the post text which are just too long for the width of my web site.

Viewing 2 replies - 1 through 2 (of 2 total)