Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
feat(v3.2.7): expand WCAG ruleset to 127 rules, add HTML syntax linter, single-pass rule engine, template preprocessor, and accessibility analytics
This commit is contained in:
@@ -92,6 +92,7 @@ class HtmlDashboardReporter
|
||||
$explanation = '';
|
||||
$fixedCode = '';
|
||||
|
||||
$explanation = '';
|
||||
if ($aiSuggestion && str_contains($aiSuggestion, 'FIX:')) {
|
||||
preg_match('/EXPLANATION:(.*)FIX:(.*)/s', $aiSuggestion, $matches);
|
||||
$explanation = trim($matches[1] ?? '');
|
||||
@@ -103,8 +104,15 @@ class HtmlDashboardReporter
|
||||
|
||||
$escapedSnippet = htmlspecialchars($v->htmlSnippet, ENT_QUOTES, 'UTF-8');
|
||||
$escapedFixed = $fixedCode ? htmlspecialchars($fixedCode, ENT_QUOTES, 'UTF-8') : '';
|
||||
$escapedExplanation = $explanation ? htmlspecialchars($explanation, ENT_QUOTES, 'UTF-8') : '';
|
||||
$locationStr = $v->location ? htmlspecialchars($v->location['file'] . ':' . (string)$v->location['line'], ENT_QUOTES, 'UTF-8') : 'N/A';
|
||||
$escapedExplanation = $explanation !== '' ? htmlspecialchars($explanation, ENT_QUOTES, 'UTF-8') : '';
|
||||
|
||||
$locationStr = 'N/A';
|
||||
if ($v->location !== null) {
|
||||
$filePart = $v->location['file'] ?? '';
|
||||
$lineNum = (string)$v->location['line'];
|
||||
$locText = $filePart !== '' ? $filePart . ':' . $lineNum : 'Line ' . $lineNum;
|
||||
$locationStr = htmlspecialchars($locText, ENT_QUOTES, 'UTF-8');
|
||||
}
|
||||
$escapedRuleId = htmlspecialchars($v->ruleId, ENT_QUOTES, 'UTF-8');
|
||||
$escapedMessage = htmlspecialchars($v->message, ENT_QUOTES, 'UTF-8');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user