https://bugzilla.wikimedia.org/show_bug.cgi?id=57777

       Web browser: ---
            Bug ID: 57777
           Summary: CSSMin::encodeImageAsDataURI() should be smarter about
                    SVG images
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: ResourceLoader
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Thanks to the work of GCI students, we now have lots of SVG images in core (and
lots more in extensions). However, they're usually somewhat pretty-formatted,
with whitespace and comments.

CSSMin::encodeImageAsDataURI() should be smart about this in two ways:
* Not base64-encode plain ASCII text, just escape quotes and backslashes
* Strip whitespace and comments (and possibly apply other transformations)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to