WordPress.org

Ready to get started?Download WordPress

Forums

slashes in comment text farks main page (7 posts)

  1. jimturner
    Member
    Posted 8 years ago #

    When I post a comment with multiple forward slashes like so ...

    mv /qual/seamless/scmlogd_log /qual/seamless/Oldscmlogd_log_$DT
    mv /test/seamless/scmlogd_log /test/seamless/Oldscmlogd_log_$DT
    mv /rels/seamless/scmlogd_log /rels/seamless/Oldscmlogd_log_$DT
    mv /qual/seamless/scmerr_log /qual/seamless/Oldscmerr_log_$DT
    mv /test/seamless/scmerr_log /test/seamless/Oldscmerr_log_$DT
    mv /rels/seamless/scmerr_log /rels/seamless/Oldscmerr_log_$DT

    It screws up the formatting of my main page even when comments are not displayed. This only affects IE (Idiot Exploder). The main page still looks fine in Firefox and Mozilla. If I replace most or all of the slashes with / then all is well.

    How can I make the replacement happen automatically?

  2. jimturner
    Member
    Posted 8 years ago #

    I was afraid of that. All is well when I replace the slashes with the HTML entity ampersand pound 47 semicolon (\/)

  3. jimturner
    Member
    Posted 8 years ago #

    In other words, how can I convert every / found in an entry to a &/ when it is encountered?

  4. jimturner
    Member
    Posted 8 years ago #

    Dang it! What does it take to make this thing display a literal "ampersand" "pound" 4 7 "semicolon"?!?!?!

  5. jimturner
    Member
    Posted 8 years ago #

    &&##47;

  6. jimturner
    Member
    Posted 8 years ago #

    '/'

  7. jimturner
    Member
    Posted 8 years ago #

    /

Topic Closed

This topic has been closed to new replies.

About this Topic