diff --git a/lib/linters/attribute_quotes.js b/lib/linters/attribute_quotes.js
index <HASH>..<HASH> 100644
--- a/lib/linters/attribute_quotes.js
+++ b/lib/linters/attribute_quotes.js
@@ -22,7 +22,7 @@ module.exports = {
 
                     results.push({
                         column: column,
-                        line: selector.source.start.line,
+                        line: node.source.start.line + selector.source.start.line - 1,
                         message: this.message
                     });
                 }
diff --git a/test/specs/linters/attribute_quotes.js b/test/specs/linters/attribute_quotes.js
index <HASH>..<HASH> 100644
--- a/test/specs/linters/attribute_quotes.js
+++ b/test/specs/linters/attribute_quotes.js
@@ -79,7 +79,11 @@ describe('lesshint', function () {
         });
 
         it('should check all selectors in a selector group', function () {
-            const source = 'input[type=text], input[type=text] {}';
+            const source = [
+                'input[type=text],',
+                'input[type=text] {}'
+            ].join('\n');
+
             const expected = [
                 {
                     column: 12,
@@ -87,8 +91,8 @@ describe('lesshint', function () {
                     message: 'Attribute selectors should use quotes.'
                 },
                 {
-                    column: 30,
-                    line: 1,
+                    column: 12,
+                    line: 2,
                     message: 'Attribute selectors should use quotes.'
                 }
             ];
Fix line reporting in attributeQuotes. Closes #<I>