{"issue":{"created_at":"2011-11-24T12:35:55Z","state":"open","updated_at":"2011-11-24T12:35:56Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Der CSS-Parser hängt bei den CSS-Definitionen bg-color und color immer ein # vor den Wert, der in der Datenbank gespeichert ist - gleichgültig dessen, ob ein Hex-Wert oder ein Farbname eingegeben wurde. Bei Farbnamen ist das # dabei unnötig. Anbei eine Fehlerkorrektur, die das Ganze behebt.\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/305.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by anonymous on November 29th, 2008, at 07:32pm (ID 305)_","assignee":{"gravatar_id":"360d94de41513598ac4440d46a3dab1b","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/360d94de41513598ac4440d46a3dab1b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2340921,"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/issues/labels/backend"},{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/issues/labels/Defect"}],"number":305,"title":"CSS-Parser: Farbnamen","closed_at":null,"html_url":"https://github.com/contao/issues/issues/305","milestone":{"created_at":"2011-11-24T11:46:52Z","state":"open","due_on":null,"closed_issues":29,"creator":{"gravatar_id":"360d94de41513598ac4440d46a3dab1b","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/360d94de41513598ac4440d46a3dab1b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":5,"description":"TYPOlight 2.6.3 (maintenance release)","title":"2.6.3","url":"https://api.github.com/repos/contao/issues/milestones/5","open_issues":1},"url":"https://api.github.com/repos/contao/issues/issues/305"},"action":"created","comment":{"created_at":"2011-11-24T12:35:56Z","updated_at":"2011-11-24T12:35:56Z","user":{"gravatar_id":"360d94de41513598ac4440d46a3dab1b","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/360d94de41513598ac4440d46a3dab1b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"1. TYPOlight unterstützt prinzipiell nur Hex-Farben (zumindest steht das so in der Doku). Es werden beispielsweise auch keine RGB-Farben importiert. \n\n2. Wenn man die Unterstützung von Farbnamen einbauen wollte, gäbe es eine viel einfachere Möglichkeit als den obigen Patch. Soweit ich gesehen habe, gibt es keine Farbe, die nur aus den Buchstaben A-F besteht, also könnte man mit einem regulären Ausdruck (`/[g-z]+/i`) alle Farbnamen abfangen.\n\n--- _Originally created on November 29th, 2008, at 07:55pm_","id":2863232,"url":"https://api.github.com/repos/contao/issues/issues/comments/2863232"}}