A bare minimum implementation of SVG badge generation extracted from the source code of badges/shields