WordPress.org

Support

Support » How-To and Troubleshooting » How can I get a plain ampersand in a post without having it get the & amp ;?

How can I get a plain ampersand in a post without having it get the & amp ;?

  • I tried to link to a YouTube video using an &start=28 at the end of the URL, so that visitors can avoid the first 28 seconds of this video, but the WordPress editor (in HTML mode), inserts the HTML entity for the ampersand rather than a clean ampersand (&).

    How can I get a regular ampersand in the URL?

    What I want:
    http://www.youtube.com/watch?v=TGEF1Afuu5s&start=28
    What I get: (in WordPress MU 2.7)
    http://www.youtube.com/watch?v=TGEF1Afuu5s&start=28
    What this forums gets (on March 26, 2009):
    (I can't display this here, but it looks something like this:)
    & # 3 8 ; start=28
    (I added spaces to get it to display.)

    I am trying to use it with the SmartYouTube plugin.
    But it doesn’t seem to work with regular URLs either.

    Any suggestions would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Actually, the link with the “&” is the correct way to put a link like that in HTML code. Your browser converts it when you click the link.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I get a plain ampersand in a post without having it get the & amp ;?’ is closed to new replies.