Support » Fixing WordPress » single quotes in image tags

  • Hi,

    With a new 2.2 version all images are being sent to editor with single quotes instead of double.
    This breaks a very useful plugin: ‘Post-thumb’

    what file do i need to adjust to switch back to double quotes in <img> tags ?

    thank you!

    Aleks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bakalek

    (@bakalek)

    anybody ?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Sounds like the plugin needs to be fixed. Images can be either single or double quoted, the plugin should account for that.

    Looking at the post thumb plugin, it looks like it will also break if the img attributes are in a different order than he’s expecting. I’d say that he needs to beef up his regular expressions somewhat.

    …all images are being sent to editor with single quotes instead of double.

    i am looking for a way to modify the code spit out for image by WP – specifically, i want my img tags to have double quotes and not single quotes (and maybe even get it to return me heightd and widths).

    where would i start if i wanted to hack it myself to change the output from single to double quotes?

    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘single quotes in image tags’ is closed to new replies.