Results 1 to 2 of 2

Thread: Incorrect Display

  1. #1
    Join Date
    Jun 2004
    Posts
    122

    Default Incorrect Display

    The regex used to cut body for integrated pages does not take

    <body >
    (note the space!) into consideration, which generates incorrent HTML in some cases.

    Suggested fix:
    PHP Code:
    // Work around for <body> tags that could contain js with >'s
    preg_match('#<body\s*(\s+\w+\s*=\s*(("|\').*?(?<!\\\)\3))*>#s'$nonindex$bmatches); 

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Thank you for pointing that out. I'll be sure that's upated in the next release.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Poll Module Results Display Incorrect
    By Dr. Bantham in forum Troubleshooting & Problems
    Replies: 4
    Last Post: 12-18-2008, 02:55 PM
  2. Incorrect Links
    By kris1351 in forum Troubleshooting & Problems
    Replies: 7
    Last Post: 07-15-2007, 11:08 AM
  3. Incorrect link
    By 1QuicksSI in forum Troubleshooting & Problems
    Replies: 3
    Last Post: 07-31-2006, 05:04 AM
  4. Path incorrect
    By chinesesalon in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 04-06-2006, 07:52 AM
  5. Incorrect links
    By =NT= in forum Troubleshooting & Problems
    Replies: 3
    Last Post: 10-15-2005, 06:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •