Support » Plugin: wp-Typography » CSS Hooks should ignore text in attributes

  • Resolved TiKu

    (@tiku)


    I had to disable the CSS hooks which add <span class="caps"> and so on, because it is added to the content of title attributes as well and this breaks HTML output.
    Shouldn’t texts in attributes be ignored?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pepe

    (@pputzer)

    That happens when a theme or plugin uses the_title() instead of the the_title_attribute() and incorrectly assumes a title will never contain HTML tags. (Some code examples how to fix this are provided in the FAQ.)

    Thread Starter TiKu

    (@tiku)

    Thank you, that did the trick. It was one of my own plugins. ^^

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS Hooks should ignore text in attributes’ is closed to new replies.