[Bug 20934] New: Escaped quotes or regular expressions break code example parsing

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20934

            Bug ID: 20934
           Summary: Escaped quotes or regular expressions break code
                    example parsing
    Classification: Unclassified
           Product: webplatform.org
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: infrastructure
          Assignee: schepers@w3.org
          Reporter: mail@damienklinnert.de
        QA Contact: public-webplatform-bugs@w3.org
                CC: team-webplatform-admin@w3.org

A string like the following will break code example parsing:


rFilter =
/^(?:image\/bmp|image\/cis\-cod|image\/gif|image\/ief|image\/jpeg|image\/jpeg|image\/jpeg|image\/pipeg|image\/png|image\/svg\+xml|image\/tiff|image\/x\-cmu\-raster|image\/x\-cmx|image\/x\-icon|image\/x\-portable\-anymap|image\/x\-portable\-bitmap|image\/x\-portable\-graymap|image\/x\-portable\-pixmap|image\/x\-rgb|image\/x\-xbitmap|image\/x\-xpixmap|image\/x\-xwindowdump)$/i;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 9 February 2013 13:09:30 UTC